1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/haskell/cabal2nix/default.nix
Peter Simons 9754b7d0d7 cabal2nix: fetch source code from the Git repository
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
2011-08-07 09:56:44 +00:00

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 ];
};
})