2019-07-10 17:12:38 +01:00
|
|
|
{ buildGoModule
|
2018-11-08 23:17:22 +00:00
|
|
|
, fetchFromGitHub
|
2020-03-27 07:33:21 +00:00
|
|
|
, lib
|
2018-11-08 23:17:22 +00:00
|
|
|
}:
|
|
|
|
|
2019-07-10 17:12:38 +01:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "archiver";
|
2020-03-14 16:19:06 +00:00
|
|
|
version = "3.3.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}";
|
2020-03-14 16:19:06 +00:00
|
|
|
sha256 = "1yr2jhidqvbwh1y08lpqaidwpr5yx3bhvznm5fc9pk64s7z5kq3h";
|
2018-11-08 23:17:22 +00:00
|
|
|
};
|
|
|
|
|
2020-05-01 02:59:00 +01:00
|
|
|
vendorSha256 = "1ikrgl03r9zkn86kxkqi2kf540g3qzzz24i5wvh6g3d5q49nygl9";
|
2018-11-08 23:17:22 +00:00
|
|
|
|
2020-03-27 07:33:21 +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;
|
|
|
|
};
|
2020-05-01 02:59:00 +01:00
|
|
|
}
|