nixpkgs/pkgs/development/tools/haskell/cabal2nix/default.nix
Peter Simons a392cab4d1 haskell-cabal2nix: updated to version 1.20
svn path=/nixpkgs/trunk/; revision=30758
2011-12-05 16:22:54 +00:00

21 lines
644 B
Nix

{ cabal, hackageDb, HTTP, mtl, nixosTypes, regexPosix }:
cabal.mkDerivation (self: {
pname = "cabal2nix";
version = "1.20";
sha256 = "14xbv7mqr9m9vhjd6xcxdb4m189p30bwbjrjjf20bq12w4h2v1xa";
isLibrary = false;
isExecutable = true;
buildDepends = [ hackageDb HTTP mtl nixosTypes regexPosix ];
meta = {
homepage = "http://github.com/haskell4nix/cabal2nix";
description = "Convert Cabal files into Nix build instructions";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})