mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
9754b7d0d7
I don't want to upload a plethora of trivial releases to Hackage every time I'd like to test a new version. svn path=/nixpkgs/trunk/; revision=28220
21 lines
568 B
Nix
21 lines
568 B
Nix
{fetchgit,cabal,HTTP}:
|
|
|
|
cabal.mkDerivation (self : {
|
|
pname = "cabal2nix";
|
|
version = "v1.8-beta-1";
|
|
|
|
src = fetchgit {
|
|
url = "git://github.com/peti/cabal2nix.git";
|
|
rev = "5ad59780b88208e20f2ba086572a2ba8783fc56f";
|
|
};
|
|
|
|
propagatedBuildInputs = [HTTP];
|
|
meta = {
|
|
homepage = "http://github.com/peti/cabal2nix";
|
|
description = "Convert Cabal files into Nix build instructions";
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
platforms = self.stdenv.lib.platforms.haskellPlatforms;
|
|
maintainers = [ self.stdenv.lib.maintainers.simons ];
|
|
};
|
|
})
|