2015-09-02 16:29:20 +01:00
|
|
|
{ mkDerivation, aeson, base, bytestring, Cabal, containers, deepseq
|
2015-09-22 09:35:21 +01:00
|
|
|
, deepseq-generics, directory, doctest, filepath, hackage-db
|
|
|
|
, hashable, hspec, language-nix, lens, pretty, process, QuickCheck
|
|
|
|
, SHA, split, stdenv, text, transformers, unordered-containers
|
|
|
|
, utf8-string, yaml, fetchFromGitHub
|
2015-09-02 16:29:20 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "distribution-nixpkgs";
|
2015-12-17 13:35:11 +00:00
|
|
|
version = "1";
|
2015-09-02 16:29:20 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nixos";
|
|
|
|
repo = "cabal2nix";
|
2016-04-06 10:33:55 +01:00
|
|
|
rev = "v20160406";
|
|
|
|
sha256 = "02dn2zllanf3rl16ny17j80h7p6gcdqkhadh3ypkr38gd9w16pc6";
|
2015-09-02 16:29:20 +01:00
|
|
|
};
|
|
|
|
postUnpack = "sourceRoot+=/${pname}";
|
|
|
|
libraryHaskellDepends = [
|
2015-09-22 09:35:21 +01:00
|
|
|
aeson base bytestring Cabal containers deepseq-generics directory
|
|
|
|
filepath hackage-db hashable language-nix lens pretty process SHA
|
|
|
|
split text transformers unordered-containers utf8-string yaml
|
2015-09-02 16:29:20 +01:00
|
|
|
];
|
|
|
|
testHaskellDepends = [
|
|
|
|
aeson base bytestring Cabal containers deepseq deepseq-generics
|
2015-09-22 09:35:21 +01:00
|
|
|
directory doctest filepath hackage-db hashable hspec language-nix
|
|
|
|
lens pretty process QuickCheck SHA split text transformers
|
|
|
|
unordered-containers utf8-string yaml
|
2015-09-02 16:29:20 +01:00
|
|
|
];
|
|
|
|
homepage = "https://github.com/nixos/cabal2nix#readme";
|
2015-09-22 09:35:21 +01:00
|
|
|
description = "Data types and functions to manipulate the Nixpkgs distribution";
|
2015-09-02 16:29:20 +01:00
|
|
|
license = stdenv.lib.licenses.bsd3;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ simons ];
|
|
|
|
}
|