nixpkgs/pkgs/applications/misc/archiver/default.nix

27 lines
639 B
Nix
Raw Normal View History

2019-07-10 17:12:38 +01:00
{ buildGoModule
2018-11-08 23:17:22 +00:00
, fetchFromGitHub
, lib
}:
2019-07-10 17:12:38 +01:00
buildGoModule rec {
pname = "archiver";
version = "3.2.0";
2018-11-08 23:17:22 +00:00
src = fetchFromGitHub {
owner = "mholt";
2019-07-10 17:12:38 +01:00
repo = pname;
2018-11-08 23:17:22 +00:00
rev = "v${version}";
2019-07-10 17:12:38 +01:00
sha256 = "1kq2cyhbniwdabk426j493cs8d4nj35vmznm9031rrdd9ln5h9gl";
2018-11-08 23:17:22 +00:00
};
2019-07-10 17:12:38 +01:00
modSha256 = "13vwgqpw7ypq6mrvwmnl8n38x0h89ymryrrzkf7ya478fp00vclj";
2018-11-08 23:17:22 +00:00
meta = with lib; {
2019-07-10 17:12:38 +01:00
description = "Easily create & extract archives, and compress & decompress files of various formats";
homepage = "https://github.com/mholt/archiver";
2018-11-08 23:17:22 +00:00
license = licenses.mit;
maintainers = with maintainers; [ kalbasit ];
platforms = platforms.all;
};
}