diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/misc/archiver/default.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/misc/archiver/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/misc/archiver/default.nix b/nixpkgs/pkgs/applications/misc/archiver/default.nix new file mode 100644 index 000000000000..03f534e1a4da --- /dev/null +++ b/nixpkgs/pkgs/applications/misc/archiver/default.nix @@ -0,0 +1,26 @@ +{ buildGoModule +, fetchFromGitHub +, lib +}: + +buildGoModule rec { + pname = "archiver"; + version = "3.2.0"; + + src = fetchFromGitHub { + owner = "mholt"; + repo = pname; + rev = "v${version}"; + sha256 = "1kq2cyhbniwdabk426j493cs8d4nj35vmznm9031rrdd9ln5h9gl"; + }; + + modSha256 = "13vwgqpw7ypq6mrvwmnl8n38x0h89ymryrrzkf7ya478fp00vclj"; + + meta = with lib; { + description = "Easily create & extract archives, and compress & decompress files of various formats"; + homepage = "https://github.com/mholt/archiver"; + license = licenses.mit; + maintainers = with maintainers; [ kalbasit ]; + platforms = platforms.all; + }; +} |