3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/haskell/cabal2nix/distribution-nixpkgs.nix
2016-03-08 17:55:04 +01:00

34 lines
1.3 KiB
Nix

{ mkDerivation, aeson, base, bytestring, Cabal, containers, deepseq
, 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
}:
mkDerivation rec {
pname = "distribution-nixpkgs";
version = "1";
src = fetchFromGitHub {
owner = "nixos";
repo = "cabal2nix";
rev = "v20160308";
sha256 = "02lj3x0rgpxvaimwbbjjgwm4ka0wkk4x5h35jjygz6bkr5lv3m52";
};
postUnpack = "sourceRoot+=/${pname}";
libraryHaskellDepends = [
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
];
testHaskellDepends = [
aeson base bytestring Cabal containers deepseq deepseq-generics
directory doctest filepath hackage-db hashable hspec language-nix
lens pretty process QuickCheck SHA split text transformers
unordered-containers utf8-string yaml
];
homepage = "https://github.com/nixos/cabal2nix#readme";
description = "Data types and functions to manipulate the Nixpkgs distribution";
license = stdenv.lib.licenses.bsd3;
maintainers = with stdenv.lib.maintainers; [ simons ];
}