255dc2478d
svn path=/nixpkgs/trunk/; revision=32332
21 lines
647 B
Nix
21 lines
647 B
Nix
{ cabal, Cabal, filepath, hackageDb, HTTP, mtl, regexPosix }:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "cabal2nix";
|
|
version = "1.27";
|
|
sha256 = "1s9gbnzx2wcrp9gg0vdpcv61jmv44hmilb5rj4ighnbfv7kv365z";
|
|
isLibrary = false;
|
|
isExecutable = true;
|
|
buildDepends = [ Cabal filepath hackageDb HTTP mtl regexPosix ];
|
|
meta = {
|
|
homepage = "http://github.com/NixOS/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
|
|
];
|
|
};
|
|
})
|