Merge remote-tracking branch 'upstream/master' into hardened-stdenv

This commit is contained in:
Robin Gloster
2016-02-09 16:28:44 +00:00
111 changed files with 11180 additions and 613 deletions
+26
View File
@@ -0,0 +1,26 @@
{ stdenv, fetchFromGitHub }:
let
version = "0.2";
in
stdenv.mkDerivation {
name = "lr-${version}";
inherit version;
src = fetchFromGitHub {
owner = "chneukirchen";
repo = "lr";
rev = "v${version}";
sha256 = "1wn1j0cf84r4nli92myf3waackh2p6r2hkavgx6533x15kdyfnf7";
};
makeFlags = "PREFIX=$(out)";
meta = {
homepage = "http://github.com/chneukirchen/lr";
description = "List files recursively";
license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.all;
maintainers = [stdenv.lib.maintainers.globin];
};
}
+25
View File
@@ -0,0 +1,25 @@
{ stdenv, lib, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "nq-${version}";
version = "0.1";
src = fetchFromGitHub {
owner = "chneukirchen";
repo = "nq";
rev = "v${version}";
sha256 = "17n0yqhpsys3s872ki5rf82ky73ylahz6xi9x0rfrv7fqr5nzsz4";
};
makeFlags = "PREFIX=$(out)";
postPatch = ''
sed -i tq \
-e 's|\bfq\b|'$out'/bin/fq|g' \
-e 's|\bnq\b|'$out'/bin/nq|g'
'';
meta = with lib; {
description = "Unix command line queue utility";
homepage = "https://github.com/chneukirchen/nq";
license = licenses.publicDomain;
platforms = platforms.linux;
maintainers = with maintainers; [ cstrahan ];
};
}
+20
View File
@@ -0,0 +1,20 @@
{ stdenv, lib, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "xe-${version}";
version = "0.5";
src = fetchFromGitHub {
owner = "chneukirchen";
repo = "xe";
rev = "v${version}";
sha256 = "0rv9npgjb695slql39asyp6znv9r3a6jbcsrsa1cmhk82iy4bljc";
};
makeFlags = "PREFIX=$(out)";
meta = with lib; {
description = "Simple xargs and apply replacement";
homepage = "https://github.com/chneukirchen/xe";
license = licenses.publicDomain;
platforms = platforms.linux;
maintainers = with maintainers; [ cstrahan ];
};
}