54 lines
1.2 KiB
Nix
54 lines
1.2 KiB
Nix
|
|
# This file defines distribution-nixpkgs-unstable, used by maintainers/scripts/haskell/regenerate-hackage-packages.sh.
|
||
|
|
{
|
||
|
|
mkDerivation,
|
||
|
|
aeson,
|
||
|
|
base,
|
||
|
|
bytestring,
|
||
|
|
Cabal,
|
||
|
|
containers,
|
||
|
|
deepseq,
|
||
|
|
directory,
|
||
|
|
fetchzip,
|
||
|
|
hspec,
|
||
|
|
language-nix,
|
||
|
|
lens,
|
||
|
|
lib,
|
||
|
|
pretty,
|
||
|
|
process,
|
||
|
|
}:
|
||
|
|
mkDerivation {
|
||
|
|
pname = "distribution-nixpkgs";
|
||
|
|
version = "1.7.1.1-unstable-2025-09-17";
|
||
|
|
src = fetchzip {
|
||
|
|
url = "https://github.com/NixOS/cabal2nix/archive/3cc36a5df16a10bac9a858208845e3d05b79845d.tar.gz";
|
||
|
|
sha256 = "1z1knv2ggm9ddyl0v120nhcnjmq50z7q1m88qj7rfz51gx1ifnim";
|
||
|
|
};
|
||
|
|
postUnpack = "sourceRoot+=/distribution-nixpkgs; echo source root reset to $sourceRoot";
|
||
|
|
enableSeparateDataOutput = true;
|
||
|
|
libraryHaskellDepends = [
|
||
|
|
aeson
|
||
|
|
base
|
||
|
|
bytestring
|
||
|
|
Cabal
|
||
|
|
containers
|
||
|
|
deepseq
|
||
|
|
language-nix
|
||
|
|
lens
|
||
|
|
pretty
|
||
|
|
process
|
||
|
|
];
|
||
|
|
testHaskellDepends = [
|
||
|
|
aeson
|
||
|
|
base
|
||
|
|
Cabal
|
||
|
|
deepseq
|
||
|
|
directory
|
||
|
|
hspec
|
||
|
|
language-nix
|
||
|
|
lens
|
||
|
|
];
|
||
|
|
homepage = "https://github.com/NixOS/cabal2nix/tree/master/distribution-nixpkgs#readme";
|
||
|
|
description = "Types and functions to manipulate the Nixpkgs distribution";
|
||
|
|
license = lib.licenses.bsd3;
|
||
|
|
}
|