nixpkgs/pkgs/development/tools/haskell/cabal2nix/distribution-nixpkgs.nix
Peter Simons ca9158fa82 cabal2nix: fix version number 20180903 to 20150903
Thanks to @drvink for pointing this out.
2015-09-07 23:35:45 +02:00

32 lines
1.2 KiB
Nix

{ mkDerivation, aeson, base, bytestring, Cabal, containers, deepseq
, deepseq-generics, directory, doctest, fetchFromGitHub, filepath
, hackage-db, hspec, language-nix, lens, pretty, process, SHA
, split, stdenv, transformers, utf8-string
}:
mkDerivation rec {
pname = "distribution-nixpkgs";
version = "20150903";
src = fetchFromGitHub {
owner = "nixos";
repo = "cabal2nix";
rev = "v${version}";
sha256 = "1cniaymgwz96bjchan49jv627wjbymc3vs48w1p19qj2k9rly6q7";
};
postUnpack = "sourceRoot+=/${pname}";
libraryHaskellDepends = [
aeson base bytestring Cabal containers deepseq deepseq-generics
directory doctest filepath hackage-db hspec language-nix lens
pretty process SHA split transformers utf8-string
];
testHaskellDepends = [
aeson base bytestring Cabal containers deepseq deepseq-generics
directory doctest filepath hackage-db hspec language-nix lens
pretty process SHA split transformers utf8-string
];
homepage = "https://github.com/nixos/cabal2nix#readme";
description = "Convert Cabal files into Nix build instructions";
license = stdenv.lib.licenses.bsd3;
maintainers = with stdenv.lib.maintainers; [ simons ];
}