clean up git revision handling in several packages

This commit is contained in:
Evgeny Egorochkin
2013-11-13 12:46:55 +02:00
parent fda66c9ff4
commit 829b29153b
6 changed files with 9 additions and 7 deletions
+4 -2
View File
@@ -3,14 +3,16 @@
assert par2Support -> par2cmdline != null;
let rev = "96c6fa2a70425fff1e73d2e0945f8e242411ab58"; in
with stdenv.lib;
stdenv.mkDerivation {
name = "bup-0.25-rc1-107-g96c6fa2";
name = "bup-0.25-rc1-107-${stdenv.lib.strings.substring 0 7 rev}";
src = fetchgit {
url = "https://github.com/bup/bup.git";
rev = "96c6fa2a70425fff1e73d2e0945f8e242411ab58";
inherit rev;
sha256 = "0d9hgyh1g5qcpdvnqv3a5zy67x79yx9qx557rxrnxyzqckp9v75n";
};