26 lines
802 B
Nix
Raw Normal View History

2015-09-03 17:49:50 +02:00
{ mkDerivation, base, deepseq, doctest, lens, pretty, regex-posix
, stdenv, fetchFromGitHub, QuickCheck
}:
mkDerivation rec {
pname = "language-nix";
2015-09-03 17:49:50 +02:00
version = "20180903";
src = fetchFromGitHub {
owner = "nixos";
repo = "cabal2nix";
rev = "v${version}";
2015-09-03 17:49:50 +02:00
sha256 = "1qb7h4bgd1gv025hdbrpwaajpfkyz95id7br3k3danrj1havr9ja";
};
postUnpack = "sourceRoot+=/${pname}";
libraryHaskellDepends = [
2015-09-03 17:49:50 +02:00
base deepseq lens pretty regex-posix
];
testHaskellDepends = [
base deepseq doctest lens pretty regex-posix QuickCheck
];
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 ];
}