git.iko.soy/typeable/nixpkgs
on master help sign in
archiver: 3.0.0 -> 3.2.0
commit2d70cb58b29d29c10492afffbb60a840eb206ff8 authorxrelkd <46590321+xrelkd@users.noreply.github.com> dateThu 11 Jul 2019, 00:12 (7 years ago) parentdc33629
2 files changed+9−67
pkgs/applications/misc/archiver/default.nix+9−11 pkgs/applications/misc/archiver/deps.nix−56
pkgs/applications/misc/archiver/default.nix+9−11
@@ -1,26 +1,24 @@
1−{ buildGoPackage
1+{ buildGoModule
22, fetchFromGitHub
33, lib
44}:
55
6−buildGoPackage rec {
7− name = "archiver-${version}";
8− version = "3.0.0";
9−
10− goPackagePath = "github.com/mholt/archiver";
6+buildGoModule rec {
7+ pname = "archiver";
8+ version = "3.2.0";
119
1210 src = fetchFromGitHub {
1311 owner = "mholt";
14− repo = "archiver";
12+ repo = pname;
1513 rev = "v${version}";
16− sha256 = "1wngv51333h907mp6nbzd9dq6r0x06mag2cij92912jcbzy0q8bk";
14+ sha256 = "1kq2cyhbniwdabk426j493cs8d4nj35vmznm9031rrdd9ln5h9gl";
1715 };
1816
19− goDeps = ./deps.nix;
17+ modSha256 = "13vwgqpw7ypq6mrvwmnl8n38x0h89ymryrrzkf7ya478fp00vclj";
2018
2119 meta = with lib; {
22− description = "Easily create and extract .zip, .tar, .tar.gz, .tar.bz2, .tar.xz, .tar.lz4, .tar.sz, and .rar (extract-only) files with Go";
23− homepage = https://github.com/mholt/archiver;
20+ description = "Easily create & extract archives, and compress & decompress files of various formats";
21+ homepage = "https://github.com/mholt/archiver";
2422 license = licenses.mit;
2523 maintainers = with maintainers; [ kalbasit ];
2624 platforms = platforms.all;
pkgs/applications/misc/archiver/deps.nixdeleted−56
@@ -1,56 +0,0 @@
1−[
2− {
3− goPackagePath = "github.com/dsnet/compress";
4− fetch = {
5− type = "git";
6− url = "https://github.com/dsnet/compress";
7− rev = "cc9eb1d7ad760af14e8f918698f745e80377af4f";
8− sha256 = "159liclywmyb6zx88ga5gn42hfl4cpk1660zss87fkx31hdq9fgx";
9− };
10− }
11− {
12− goPackagePath = "github.com/golang/snappy";
13− fetch = {
14− type = "git";
15− url = "https://github.com/golang/snappy";
16− rev = "2e65f85255dbc3072edf28d6b5b8efc472979f5a";
17− sha256 = "05w6mpc4qcy0pv8a2bzng8nf4s5rf5phfang4jwy9rgf808q0nxf";
18− };
19− }
20− {
21− goPackagePath = "github.com/nwaples/rardecode";
22− fetch = {
23− type = "git";
24− url = "https://github.com/nwaples/rardecode";
25− rev = "197ef08ef68c4454ae5970a9c2692d6056ceb8d7";
26− sha256 = "0vvijw7va283dbdvnf4bgkn7bjngxqzk1rzdpy8sl343r62bmh4g";
27− };
28− }
29− {
30− goPackagePath = "github.com/pierrec/lz4";
31− fetch = {
32− type = "git";
33− url = "https://github.com/pierrec/lz4";
34− rev = "623b5a2f4d2a41e411730dcdfbfdaeb5c0c4564e";
35− sha256 = "1hhf7vyz5irrqs7ixdmvsvzmy9izv3ha8jbyy0cs486h61nzqkki";
36− };
37− }
38− {
39− goPackagePath = "github.com/ulikunitz/xz";
40− fetch = {
41− type = "git";
42− url = "https://github.com/ulikunitz/xz";
43− rev = "590df8077fbcb06ad62d7714da06c00e5dd2316d";
44− sha256 = "07mivr4aiw3b8qzwajsxyjlpbkf3my4xx23lv0yryc4pciam5lhy";
45− };
46− }
47− {
48− goPackagePath = "github.com/xi2/xz";
49− fetch = {
50− type = "git";
51− url = "https://github.com/xi2/xz";
52− rev = "48954b6210f8d154cb5f8484d3a3e1f83489309e";
53− sha256 = "178r0fa2dpzxf0sabs7dn0c8fa7vs87zlxk6spkn374ls9pir7nq";
54− };
55− }
56−]