nixpkgs/pkgs/development/tools/haskell/cabal2nix/default.nix

21 lines
647 B
Nix
Raw Normal View History

{ cabal, Cabal, filepath, hackageDb, HTTP, mtl, regexPosix }:
cabal.mkDerivation (self: {
pname = "cabal2nix";
version = "1.37";
sha256 = "0gd20nzr3bqscd4pn0j3vsmnhxiypbv5ppncmi0ck5n4ii8c6m94";
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
];
};
})