nixpkgs/pkgs/development/tools/haskell/cabal2nix/language-nix.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

26 lines
821 B
Nix

{ mkDerivation, base, deepseq, doctest, fetchFromGitHub, lens
, pretty, QuickCheck, regex-posix, stdenv
}:
mkDerivation rec {
pname = "language-nix";
version = "20150903";
src = fetchFromGitHub {
owner = "nixos";
repo = "cabal2nix";
rev = "v${version}";
sha256 = "1cniaymgwz96bjchan49jv627wjbymc3vs48w1p19qj2k9rly6q7";
};
postUnpack = "sourceRoot+=/${pname}";
libraryHaskellDepends = [
base deepseq doctest lens pretty QuickCheck regex-posix
];
testHaskellDepends = [
base deepseq doctest lens pretty QuickCheck regex-posix
];
homepage = "https://github.com/nixos/cabal2nix#readme";
description = "Data types and useful functions to represent and manipulate the Nix language";
license = stdenv.lib.licenses.bsd3;
maintainers = with stdenv.lib.maintainers; [ simons ];
}