nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 44 lines 1.0 kB view raw
1# This file defines hackage-db-unstable, used by maintainers/scripts/haskell/regenerate-hackage-packages.sh. 2{ 3 mkDerivation, 4 aeson, 5 base, 6 bytestring, 7 Cabal, 8 containers, 9 directory, 10 exceptions, 11 fetchzip, 12 filepath, 13 lib, 14 tar, 15 time, 16 utf8-string, 17}: 18mkDerivation { 19 pname = "hackage-db"; 20 version = "2.1.3-unstable-2026-01-25"; 21 src = fetchzip { 22 url = "https://github.com/NixOS/cabal2nix/archive/751a8eccfc92f8ce3ca9d517c554e7dcb3f409bd.tar.gz"; 23 sha256 = "1i9ifxmh5bqgpa7a6l46lqkzpr7z3zfm7bdkllq56hz1nmj4gbqx"; 24 }; 25 postUnpack = "sourceRoot+=/hackage-db; echo source root reset to $sourceRoot"; 26 isLibrary = true; 27 isExecutable = true; 28 libraryHaskellDepends = [ 29 aeson 30 base 31 bytestring 32 Cabal 33 containers 34 directory 35 exceptions 36 filepath 37 tar 38 time 39 utf8-string 40 ]; 41 homepage = "https://github.com/NixOS/cabal2nix/tree/master/hackage-db#readme"; 42 description = "Access cabal-install's Hackage database via Data.Map"; 43 license = lib.licenses.bsd3; 44}