forked from mirrors/nixpkgs
34 lines
1 KiB
Nix
34 lines
1 KiB
Nix
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
|
|
|
|
{ cabal, curl, extensibleExceptions, filepath, hashedStorage
|
|
, haskeline, html, HTTP, mmap, mtl, network, parsec, random
|
|
, regexCompat, tar, terminfo, text, utf8String, vector, zlib
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "darcs";
|
|
version = "2.8.4";
|
|
sha256 = "164zclgib9ql4rqykpdhhk2bad0m5v0k0iwzsj0z7nax5nxlvarz";
|
|
isLibrary = true;
|
|
isExecutable = true;
|
|
buildDepends = [
|
|
extensibleExceptions filepath hashedStorage haskeline html HTTP
|
|
mmap mtl network parsec random regexCompat tar terminfo text
|
|
utf8String vector zlib
|
|
];
|
|
extraLibraries = [ curl ];
|
|
jailbreak = true;
|
|
doCheck = false;
|
|
postInstall = ''
|
|
mkdir -p $out/etc/bash_completion.d
|
|
mv contrib/darcs_completion $out/etc/bash_completion.d/darcs
|
|
'';
|
|
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 ];
|
|
};
|
|
})
|