2011-08-07 11:56:44 +02:00
|
|
|
{fetchgit,cabal,HTTP}:
|
2011-08-05 19:03:14 +02:00
|
|
|
|
|
|
|
cabal.mkDerivation (self : {
|
|
|
|
pname = "cabal2nix";
|
2011-08-07 20:21:44 +02:00
|
|
|
version = "v1.8-beta-7";
|
2011-08-07 11:56:44 +02:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "git://github.com/peti/cabal2nix.git";
|
2011-08-07 20:21:44 +02:00
|
|
|
rev = "d72475c412873a45db16d8bb0e5c1e4859e35544";
|
2011-08-07 11:56:44 +02:00
|
|
|
};
|
|
|
|
|
2011-08-05 21:41:54 +02:00
|
|
|
propagatedBuildInputs = [HTTP];
|
2011-08-05 19:03:14 +02:00
|
|
|
meta = {
|
|
|
|
homepage = "http://github.com/peti/cabal2nix";
|
|
|
|
description = "Convert Cabal files into Nix build instructions";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
2011-08-05 21:41:54 +02:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.simons ];
|
2011-08-05 19:03:14 +02:00
|
|
|
};
|
|
|
|
})
|