nixpkgs/pkgs/development/tools/haskell/cabal-delete/default.nix
Peter Simons e823c123a8 Don't build broken Haskell packages on Hydra.
These packages don't compile:

 - cabal-delete
 - cabal-file-th
 - categories
 - cmdtheline
 - codec-image-devil
 - concurrent-extra
 - cryptol 1.8.x
 - data-lens
 - diagrams-postscript
 - djinn
 - download
 - dstring
 - enummapset
 - git-date
 - github-backup
 - gtkglext
 - happyy-meta
 - haskeline-class
 - pakcs

These packages depend on some of the packages listed before:

 - Chart-diagrams
 - data-lens-template
 - hp2any-manager
 - purescript
 - repr

These packages fail with GHC 7.8.3 but still compile with older compilers:

 - happy: 1.18.4, 1.18.5, 1.18.6
2014-08-12 12:37:44 +02:00

37 lines
910 B
Nix

{ cabal, fetchgit, bytestring ? null, containers ? null, directory ? null,
filepath, process ? null, attoparsec, ghcPaths, transformers }:
let
tag = "0.5.2.0";
in
cabal.mkDerivation (self: {
pname = "cabal-delete";
version = "${tag}";
src = fetchgit {
url = git://github.com/iquiw/cabal-delete.git;
rev = "refs/tags/v${tag}";
sha256 = "1ap319isjg8bafm4jz2krfwvvg11hj5yk0g99a3l1a3a36hpdgzw";
};
isLibrary = false;
isExecutable = true;
buildDepends = [
bytestring
containers
directory
filepath
process
attoparsec
ghcPaths
transformers
];
meta = {
homepage = "https://github.com/iquiw/cabal-delete";
description = "Uninstall packages installed by cabal";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
hydraPlatforms = self.stdenv.lib.platforms.none;
broken = true;
};
})