mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 10:56:53 +00:00
8755735a06
svn path=/nixpkgs/trunk/; revision=31077
21 lines
644 B
Nix
21 lines
644 B
Nix
{ cabal, hackageDb, HTTP, mtl, nixosTypes, regexPosix }:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "cabal2nix";
|
|
version = "1.23";
|
|
sha256 = "1rnvnzwb4n89hq4wpyq1h6x773r7y23clqj5slsfnas7j3alzz8c";
|
|
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
|
|
];
|
|
};
|
|
})
|