]> git.immae.eu Git - perso/Immae/Config/Nix/NUR.git/commitdiff
Add s6 tools
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 9 Jun 2019 10:37:31 +0000 (12:37 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Fri, 24 Apr 2020 22:04:25 +0000 (00:04 +0200)
overlays/default.nix
overlays/environments/immae-eu.nix
overlays/s6/default.nix [new file with mode: 0644]

index 42c0386a9da3c178cb61eca2f49a199b397307d6..8445f27ccd30a07e82bfebed8a3135fcc30a90fa 100644 (file)
@@ -18,6 +18,7 @@
   pelican = import ./pelican;
   postgresql = import ./databases/postgresql;
   profanity = import ./profanity;
+  s6 = import ./s6;
   sc-im = import ./sc-im;
   shaarli = import ./shaarli;
   slrn = import ./slrn;
index 9f044d5ea96b5bc000eeb8fed9f9d2fed1635fc2..b38c9e13bb4ad8e160bc27584ebf796ce51faf7b 100644 (file)
@@ -102,6 +102,10 @@ let
     # video/music
     youtube-dl ncmpc ncmpcpp ffmpeg
 
+    # s6 tools (part of skawarePackages)
+    skalibs execline s6 s6-dns s6-linux-utils s6-networking
+    s6-portable-utils
+
     # other tools
     pgloader s3cmd lftp jq cpulimit libxslt
   ];
diff --git a/overlays/s6/default.nix b/overlays/s6/default.nix
new file mode 100644 (file)
index 0000000..ddf0a23
--- /dev/null
@@ -0,0 +1,73 @@
+self: super: {
+  skawarePackages = super.skawarePackages // (with super.skawarePackages; {
+    skalibs = skalibs.overrideAttrs(old: rec {
+      pname = "skalibs";
+      name = "${pname}-${version}";
+      version = "2.8.1.0";
+      src = self.fetchurl {
+        url = "https://skarnet.org/software/${pname}/${pname}-${version}.tar.gz";
+        sha256 = "1fk6n402ywn4kpy6ng7sfnnqcg0mp6wq2hrv8sv3kxd0nh3na723";
+      };
+    });
+
+    execline = execline.overrideAttrs(old: rec {
+      pname = "execline";
+      name = "${pname}-${version}";
+      version = "2.5.1.0";
+      src = self.fetchurl {
+        url = "https://skarnet.org/software/${pname}/${pname}-${version}.tar.gz";
+        sha256 = "0xr6yb50wm6amj1wc7jmxyv7hvlx2ypbnww1vc288j275625d9xi";
+      };
+    });
+
+    s6 = s6.overrideAttrs(old: rec {
+      pname = "s6";
+      name = "${pname}-${version}";
+      version = "2.8.0.1";
+      src = self.fetchurl {
+        url = "https://skarnet.org/software/${pname}/${pname}-${version}.tar.gz";
+        sha256 = "1n1i3jm3kp9ii54cxj1sgh89m6nyna7vhy8714ma6py1frdqzq6v";
+      };
+    });
+
+    s6-dns = s6-dns.overrideAttrs(old: rec {
+      pname = "s6-dns";
+      name = "${pname}-${version}";
+      version = "2.3.0.2";
+      src = self.fetchurl {
+        url = "https://skarnet.org/software/${pname}/${pname}-${version}.tar.gz";
+        sha256 = "1y9bhvx8bqsb2xq5lmlfnc1hw2b3jyqg11i9r4lj0n6vvaqwh1j8";
+      };
+    });
+
+    s6-linux-utils = s6-linux-utils.overrideAttrs(old: rec {
+      pname = "s6-linux-utils";
+      name = "${pname}-${version}";
+      version = "2.5.0.1";
+      src = self.fetchurl {
+        url = "https://skarnet.org/software/${pname}/${pname}-${version}.tar.gz";
+        sha256 = "0bpcaah3rbz4i013bkarr7wxmfvisjyxg0z78xg5zfbgajpgjxx1";
+      };
+    });
+
+    s6-networking = s6-networking.overrideAttrs(old: rec {
+      pname = "s6-networking";
+      name = "${pname}-${version}";
+      version = "2.3.0.4";
+      src = self.fetchurl {
+        url = "https://skarnet.org/software/${pname}/${pname}-${version}.tar.gz";
+        sha256 = "00kqp0mcp8c7f0z5s4399rd1haxasxkqgd6ds0j0607hvi56mqqa";
+      };
+    });
+
+    s6-portable-utils = s6-portable-utils.overrideAttrs(old: rec {
+      pname = "s6-portable-utils";
+      name = "${pname}-${version}";
+      version = "2.2.1.3";
+      src = self.fetchurl {
+        url = "https://skarnet.org/software/${pname}/${pname}-${version}.tar.gz";
+        sha256 = "1ibjns1slyg1p7jl9irzlrjz8b01f506iw87g3s7db5arhf17vv2";
+      };
+    });
+  });
+}