nixpkgs/pkgs/applications/version-management/darcs/default.nix

31 lines
980 B
Nix
Raw Normal View History

{ cabal, curl, extensibleExceptions, filepath, hashedStorage
, haskeline, html, HTTP, mmap, mtl, network, parsec, random
2013-02-09 18:24:50 +01:00
, regexCompat, tar, terminfo, text, utf8String, vector, zlib
}:
cabal.mkDerivation (self: {
pname = "darcs";
2013-02-09 18:24:50 +01:00
version = "2.8.4";
sha256 = "164zclgib9ql4rqykpdhhk2bad0m5v0k0iwzsj0z7nax5nxlvarz";
isLibrary = true;
isExecutable = true;
buildDepends = [
extensibleExceptions filepath hashedStorage haskeline html HTTP
2013-02-09 18:24:50 +01:00
mmap mtl network parsec random regexCompat tar terminfo text
utf8String vector zlib
];
extraLibraries = [ curl ];
postInstall = ''
mkdir -p $out/etc/bash_completion.d
mv contrib/darcs_completion $out/etc/bash_completion.d/darcs
'';
doCheck = false;
meta = {
homepage = "http://darcs.net/";
description = "a distributed, interactive, smart revision control system";
license = "GPL";
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})