Attach a bunch of meta.branch info for the monitor

This should stop explicitly-versioned expressions from showing up in the
monitor as in need of update.
This commit is contained in:
Mateusz Kowalczyk 2014-11-17 18:04:59 +00:00
parent 9ee5b8d3fc
commit 0c43a02e36
12 changed files with 22 additions and 2 deletions

View File

@ -21,4 +21,7 @@ import ./generic.nix {
postInstall = " postInstall = "
sed 's|V4.2|V4.1.2|g' < ${docbook42catalog} > catalog.xml sed 's|V4.2|V4.1.2|g' < ${docbook42catalog} > catalog.xml
"; ";
meta = {
branch = "4.1.2";
};
} }

View File

@ -7,4 +7,7 @@ import ./generic.nix {
url = http://www.docbook.org/xml/4.2/docbook-xml-4.2.zip; url = http://www.docbook.org/xml/4.2/docbook-xml-4.2.zip;
md5 = "73fe50dfe74ca631c1602f558ed8961f"; md5 = "73fe50dfe74ca631c1602f558ed8961f";
}; };
meta = {
branch = "4.2";
};
} }

View File

@ -7,4 +7,7 @@ import ./generic.nix {
url = http://www.docbook.org/xml/4.3/docbook-xml-4.3.zip; url = http://www.docbook.org/xml/4.3/docbook-xml-4.3.zip;
md5 = "ab200202b9e136a144db1e0864c45074"; md5 = "ab200202b9e136a144db1e0864c45074";
}; };
meta = {
branch = "4.3";
};
} }

View File

@ -7,4 +7,7 @@ import ./generic.nix {
url = http://www.docbook.org/xml/4.5/docbook-xml-4.5.zip; url = http://www.docbook.org/xml/4.5/docbook-xml-4.5.zip;
sha256 = "1d671lcjckjri28xfbf6dq7y3xnkppa910w1jin8rjc35dx06kjf"; sha256 = "1d671lcjckjri28xfbf6dq7y3xnkppa910w1jin8rjc35dx06kjf";
}; };
meta = {
branch = "4.5";
};
} }

View File

@ -1,9 +1,9 @@
{stdenv, fetchurl, unzip, src, name, postInstall ? "true"}: { stdenv, fetchurl, unzip, src, name, postInstall ? "true", meta ? {} }:
assert unzip != null; assert unzip != null;
stdenv.mkDerivation { stdenv.mkDerivation {
inherit src name postInstall; inherit src name postInstall meta;
builder = ./builder.sh; builder = ./builder.sh;
buildInputs = [unzip]; buildInputs = [unzip];
} }

View File

@ -4,4 +4,5 @@ import ./generic.nix (args // rec {
version = "4.4.20"; version = "4.4.20";
extraPatches = [ ./cygwin-4.4.patch ]; extraPatches = [ ./cygwin-4.4.patch ];
sha256 = "0y9vsq8dkarx1mhhip1vaciz6imbbyv37c1dm8b20l7p064bg2i9"; sha256 = "0y9vsq8dkarx1mhhip1vaciz6imbbyv37c1dm8b20l7p064bg2i9";
branch = "4.4";
}) })

View File

@ -4,4 +4,5 @@ import ./generic.nix (args // rec {
version = "4.5.20"; version = "4.5.20";
extraPatches = [ ./cygwin-4.5.patch ./register-race-fix.patch ]; extraPatches = [ ./cygwin-4.5.patch ./register-race-fix.patch ];
sha256 = "0bd81k0qv5i8w5gbddrvld45xi9k1gvmcrfm0393v0lrm37dab7m"; sha256 = "0bd81k0qv5i8w5gbddrvld45xi9k1gvmcrfm0393v0lrm37dab7m";
branch = "4.5";
}) })

View File

@ -3,4 +3,5 @@
import ./generic.nix (args // rec { import ./generic.nix (args // rec {
version = "4.7.25"; version = "4.7.25";
sha256 = "0gi667v9cw22c03hddd6xd6374l0pczsd56b7pba25c9sdnxjkzi"; sha256 = "0gi667v9cw22c03hddd6xd6374l0pczsd56b7pba25c9sdnxjkzi";
branch = "4.7";
}) })

View File

@ -3,4 +3,5 @@
import ./generic.nix (args // rec { import ./generic.nix (args // rec {
version = "4.8.30"; version = "4.8.30";
sha256 = "0ampbl2f0hb1nix195kz1syrqqxpmvnvnfvphambj7xjrl3iljg0"; sha256 = "0ampbl2f0hb1nix195kz1syrqqxpmvnvnfvphambj7xjrl3iljg0";
branch = "4.8";
}) })

View File

@ -4,4 +4,5 @@ import ./generic.nix (args // rec {
version = "5.3.28"; version = "5.3.28";
sha256 = "0a1n5hbl7027fbz5lm0vp0zzfp1hmxnz14wx3zl9563h83br5ag0"; sha256 = "0a1n5hbl7027fbz5lm0vp0zzfp1hmxnz14wx3zl9563h83br5ag0";
extraPatches = [ ./osx.patch ]; extraPatches = [ ./osx.patch ];
branch = "5.3";
}) })

View File

@ -4,4 +4,5 @@ import ./generic.nix (args // rec {
version = "6.0.20"; version = "6.0.20";
sha256 = "00r2aaglq625y8r9xd5vw2y070plp88f1mb2gbq3kqsl7128lsl0"; sha256 = "00r2aaglq625y8r9xd5vw2y070plp88f1mb2gbq3kqsl7128lsl0";
license = stdenv.lib.licenses.agpl3; license = stdenv.lib.licenses.agpl3;
branch = "6.0";
}) })

View File

@ -6,6 +6,7 @@
, version, sha256 , version, sha256
, extraPatches ? [ ] , extraPatches ? [ ]
, license ? stdenv.lib.licenses.sleepycat , license ? stdenv.lib.licenses.sleepycat
, branch ? null
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -37,5 +38,6 @@ stdenv.mkDerivation rec {
description = "Berkeley DB"; description = "Berkeley DB";
license = license; license = license;
platforms = platforms.unix; platforms = platforms.unix;
branch = branch;
}; };
} }