1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/pkgs/development/libraries/haskell/singletons/default.nix
2014-05-29 07:28:13 +00:00

21 lines
708 B
Nix

{ cabal, Cabal, constraints, filepath, mtl, tasty, tastyGolden
, thDesugar
}:
cabal.mkDerivation (self: {
pname = "singletons";
version = "1.0";
sha256 = "1rd1728wghhqlg2djd7az8i01rf4i3wwwcnz2v43a39jjvhlklkg";
buildDepends = [ mtl thDesugar ];
testDepends = [ Cabal constraints filepath tasty tastyGolden ];
noHaddock = true;
patches = self.stdenv.lib.optional self.stdenv.isDarwin ./test.patch;
meta = {
homepage = "http://www.cis.upenn.edu/~eir/packages/singletons";
description = "A framework for generating singleton types";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.ocharles ];
};
})