mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
a30df95691
This change brings support for building and running the regressions test suites.
22 lines
705 B
Nix
22 lines
705 B
Nix
{ cabal, extensibleExceptions, filepath, HUnit, QuickCheck
|
|
, testFramework, testFrameworkHunit, testFrameworkQuickcheck2
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "Cabal";
|
|
version = "1.16.0.3";
|
|
sha256 = "11lzqgdjaix8n7nabmafl3jf9gisb04c025cmdycfihfajfn49zg";
|
|
buildDepends = [ filepath ];
|
|
testDepends = [
|
|
extensibleExceptions filepath HUnit QuickCheck testFramework
|
|
testFrameworkHunit testFrameworkQuickcheck2
|
|
];
|
|
meta = {
|
|
homepage = "http://www.haskell.org/cabal/";
|
|
description = "A framework for packaging Haskell software";
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
platforms = self.ghc.meta.platforms;
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
|
};
|
|
})
|