* Removed Darcs 1.x.
* Updated Darcs to 2.2.1 and switched to the Cabal builder. However, there are some dependencies missing that Andres will add :-) svn path=/nixpkgs/trunk/; revision=15128
This commit is contained in:
@@ -1,19 +1,18 @@
|
||||
{stdenv, fetchurl, ghc, zlib, ncurses, curl, perl}:
|
||||
{cabal /* , ghc, zlib, ncurses, curl, perl */}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "darcs-2.1.0";
|
||||
src = fetchurl {
|
||||
url = http://www.darcs.net/darcs-2.1.0.tar.gz;
|
||||
sha256 = "d5a63e62bceb45905163d508c6b25158dab6aca367015566d8c539ec37107ab4";
|
||||
};
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "darcs";
|
||||
version = "2.2.1";
|
||||
sha256 = "0iy4d4qls6yhwmgv87pz4kmr5jh4bwigz1wfwzns71b68csynnsp";
|
||||
|
||||
buildInputs = [ghc zlib ncurses curl perl];
|
||||
#buildInputs = [ghc zlib ncurses curl perl];
|
||||
|
||||
NIX_LDFLAGS = "-lz";
|
||||
#NIX_LDFLAGS = "-lz";
|
||||
|
||||
meta = {
|
||||
homepage = http://darcs.net/;
|
||||
description = "Patch-based version management system";
|
||||
};
|
||||
|
||||
patches = ./bash-completion.patch; # I didn't have "have"
|
||||
}
|
||||
})
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
{stdenv, fetchurl, ghc, zlib, ncurses, curl, getConfig}:
|
||||
|
||||
# you really should consider using darcs2 and updating your darcs-1 repos ..
|
||||
# many performance improvements have been made if you use the darcs-2 or hashed format
|
||||
# (darcs-2 is default now when runnig darcs 2.1.0)
|
||||
# lookup darcs convert and make sure you understand the one way conversion..
|
||||
assert getConfig ["darcs" "IreallyWantDarcsOne"] false;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "darcs-1.0.9";
|
||||
src = fetchurl {
|
||||
url = http://www.darcs.net/darcs-1.0.9.tar.gz;
|
||||
sha256 = "a5fe4d5a743d8052d6cbfcea480a44593f821afd8a42e6d6d4ae37d40ed23cd8";
|
||||
};
|
||||
buildInputs = [ghc zlib ncurses curl];
|
||||
|
||||
NIX_LDFLAGS = "-lz";
|
||||
|
||||
meta = {
|
||||
description = "Patch-based version management system";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user