haskell-packages: added cabal2nix, a utility to convert Cabal files into Nix build instructions
Naturally, the tool generated its own build expression. :-) svn path=/nixpkgs/trunk/; revision=28170
This commit is contained in:
parent
a12937570c
commit
a650832b2c
13
pkgs/development/libraries/haskell/cabal2nix/default.nix
Normal file
13
pkgs/development/libraries/haskell/cabal2nix/default.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{cabal}:
|
||||
|
||||
cabal.mkDerivation (self : {
|
||||
pname = "cabal2nix";
|
||||
version = "1.2";
|
||||
sha256 = "f60dbb36dc73351e1891d2b31ae66c465955c46b87eedb0928bcf61b9a7eff54";
|
||||
propagatedBuildInputs = [];
|
||||
meta = {
|
||||
homepage = "http://github.com/peti/cabal2nix";
|
||||
description = "Convert Cabal files into Nix build instructions";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
};
|
||||
})
|
@ -405,6 +405,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
|
||||
|
||||
bytestringTrie = callPackage ../development/libraries/haskell/bytestring-trie {};
|
||||
|
||||
cabal2nix = callPackage ../development/libraries/haskell/cabal2nix {};
|
||||
|
||||
cairo = callPackage ../development/libraries/haskell/cairo {
|
||||
inherit (pkgs) cairo zlib;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user