2011-08-09 11:47:46 +02:00
|
|
|
{ fetchgit, cabal, HTTP, regexPosix }:
|
2011-08-05 19:03:14 +02:00
|
|
|
|
|
|
|
cabal.mkDerivation (self : {
|
|
|
|
pname = "cabal2nix";
|
2011-08-09 14:40:29 +02:00
|
|
|
version = "v1.8-beta-13";
|
2011-08-07 11:56:44 +02:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "git://github.com/peti/cabal2nix.git";
|
2011-08-09 14:40:29 +02:00
|
|
|
rev = "11fb101a229373d37704b3b9e62df44c825dd081";
|
2011-08-07 11:56:44 +02:00
|
|
|
};
|
|
|
|
|
2011-08-09 11:47:46 +02:00
|
|
|
extraBuildInputs = [HTTP regexPosix];
|
|
|
|
|
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
|
|
|
};
|
|
|
|
})
|