skaware: switch from git repos to tarballs

It should be more performant this way.
This commit is contained in:
Profpatsch 2018-09-04 21:55:47 +02:00
parent e8f336fac2
commit 4616ef1f41
10 changed files with 12 additions and 13 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchgit, writeScript, file }:
{ stdenv, fetchurl, writeScript, file }:
let lib = stdenv.lib;
in {
# : string
@ -72,9 +72,8 @@ let
in stdenv.mkDerivation {
name = "${pname}-${version}";
src = fetchgit {
url = "git://git.skarnet.org/${pname}";
rev = "refs/tags/v${version}";
src = fetchurl {
url = "https://skarnet.org/software/${pname}/${pname}-${version}.tar.gz";
inherit sha256;
};

View File

@ -5,7 +5,7 @@ with skawarePackages;
buildPackage {
pname = "nsss";
version = "0.0.1.0";
sha256 = "0pw7qk4j4q4sl3h01bbqcr44ppxkdvaw08xlhsnnkiv9jypfwx7w";
sha256 = "0f285bvpvhk40cqjpkc1jb36il0fkzzzjmc89gbbq3awl3w4r1i0";
description = "An implementation of a subset of the pwd.h, group.h and shadow.h family of functions.";

View File

@ -5,7 +5,7 @@ with skawarePackages;
buildPackage {
pname = "skalibs";
version = "2.7.0.0";
sha256 = "068pkbl91mi35amlhv491dwrbzyfifrlxijss0g2vf693xvx6lxm";
sha256 = "0mnprdf4w4ami0db22rwd111m037cdmn2p8xa4i8cbwxcrv4sjcn";
description = "A set of general-purpose C programming libraries";

View File

@ -5,7 +5,7 @@ with skawarePackages;
buildPackage {
pname = "s6-linux-utils";
version = "2.5.0.0";
sha256 = "0wbxwki2alyym6dm44s5ajp9ndw6sgrqvizkznz71c30i0dlxrnf";
sha256 = "04q2z71dkzahd2ppga2zikclz2qk014c23gm7rigqxjc8rs1amvq";
description = "A set of minimalistic Linux-specific system utilities";
platforms = stdenv.lib.platforms.linux;

View File

@ -5,7 +5,7 @@ with skawarePackages;
buildPackage {
pname = "execline";
version = "2.5.0.1";
sha256 = "0d4gvixz7xja03hnwc2bf13xrgh1jq27ij4m1jlrpgrzhfpqz37q";
sha256 = "0j8hwdw8wn0rv8njdza8fbgmvyjg7hqp3qlbw00i7fwskr7d21wd";
description = "A small scripting language, to be used in place of a shell in non-interactive scripts";

View File

@ -8,7 +8,7 @@ let
in buildPackage {
pname = pname;
version = "2.2.1.2";
sha256 = "1zfanja5mbyafmzw28dlx1bb3fixa7lidbs62sxf849ly3z0zqp2";
sha256 = "0if77z07rfygd1yk9d2abxkdbx3dg52vcjhb20isb8kvqxhkg8ih";
description = "A set of tiny general Unix utilities optimized for simplicity and small size";

View File

@ -5,7 +5,7 @@ with skawarePackages;
buildPackage {
pname = "s6-dns";
version = "2.3.0.1";
sha256 = "0flxkrnff2c28514k2nxv2y41k38pbiwd8dxlqaxgs2cl27i0ggb";
sha256 = "16ymalc4yxbwc0kapwmissxlw2bdk4sx3b33zp1gwx3n6hkcgh8c";
description = "A suite of DNS client programs and libraries for Unix systems";

View File

@ -21,7 +21,7 @@ assert sslSupportEnabled -> sslLibs ? ${sslSupport};
buildPackage {
pname = "s6-networking";
version = "2.3.0.3";
sha256 = "06kv2l31ch0zw538bpivgnwymb056x5hpmqafglffgkbq3izp7wc";
sha256 = "1kfjl7da6wkmyq1mvq9irkbzk2wbi0axjfbcw5cym5y11mqswsjs";
description = "A suite of small networking utilities for Unix systems";

View File

@ -5,7 +5,7 @@ with skawarePackages;
buildPackage {
pname = "s6-rc";
version = "0.4.1.0";
sha256 = "1as7jhlp4cvh1bzvcli1hk1pbdzkac8gys1h379blymfy8hmp805";
sha256 = "1xl37xi509pcm5chcvn8l7gb952sr5mkpxhpkbsxhsllj791bfa2";
description = "A service manager for s6-based systems";
platforms = stdenv.lib.platforms.linux;

View File

@ -5,7 +5,7 @@ with skawarePackages;
buildPackage {
pname = "s6";
version = "2.7.2.0";
sha256 = "07j4is7kxkynschwbf83q5rw1872kg3ij2vhxyfp3bg71k5pw1az";
sha256 = "02canrzmhr66gi16ldyylk378jlmyfl73vn72ayr12h2wyxgqm5g";
description = "skarnet.org's small & secure supervision software suite";