cabal2nix: updated to version 1.9

svn path=/nixpkgs/trunk/; revision=28461
This commit is contained in:
Peter Simons 2011-08-10 15:47:35 +00:00
parent e7f1dd70a3
commit 45c2082b50
3 changed files with 22 additions and 22 deletions

View File

@ -1,20 +0,0 @@
{ fetchgit, cabal, HTTP, regexPosix }:
cabal.mkDerivation (self : {
pname = "cabal2nix";
version = "v1.8-beta-13";
src = fetchgit {
url = "git://github.com/peti/cabal2nix.git";
rev = "11fb101a229373d37704b3b9e62df44c825dd081";
};
extraBuildInputs = [HTTP regexPosix];
meta = {
homepage = "http://github.com/peti/cabal2nix";
description = "Convert Cabal files into Nix build instructions";
license = self.stdenv.lib.licenses.bsd3;
maintainers = [ self.stdenv.lib.maintainers.simons ];
};
})

View File

@ -0,0 +1,20 @@
{ cabal, HTTP, mtl, regexPosix }:
cabal.mkDerivation (self: {
pname = "cabal2nix";
version = "1.9";
sha256 = "0wfagx42l3jcjclwyw914srramh9jind1988xg7dkxblngqw153v";
isLibrary = false;
isExecutable = true;
buildDepends = [ HTTP mtl 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
];
};
})

View File

@ -424,8 +424,6 @@ 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;
};
@ -1415,6 +1413,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
myhasktags = callPackage ../tools/misc/myhasktags {};
cabal2nix = callPackage ../development/tools/haskell/cabal2nix {};
# Games.
LambdaHack = callPackage ../games/LambdaHack {};