lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 25.11-pre 110 lines 2.0 kB view raw
1# This file defines cabal2nix-unstable, used by maintainers/scripts/haskell/regenerate-hackage-packages.sh. 2{ 3 mkDerivation, 4 aeson, 5 ansi-terminal, 6 ansi-wl-pprint, 7 base, 8 bytestring, 9 Cabal, 10 containers, 11 deepseq, 12 directory, 13 distribution-nixpkgs, 14 fetchzip, 15 filepath, 16 hackage-db, 17 hopenssl, 18 hpack, 19 language-nix, 20 lens, 21 lib, 22 monad-par, 23 monad-par-extras, 24 mtl, 25 optparse-applicative, 26 pretty, 27 process, 28 split, 29 tasty, 30 tasty-golden, 31 text, 32 time, 33 transformers, 34 yaml, 35}: 36mkDerivation { 37 pname = "cabal2nix"; 38 version = "unstable-2025-04-30"; 39 src = fetchzip { 40 url = "https://github.com/NixOS/cabal2nix/archive/fbe593fe71b916861b97117dfb91f7aae9c4fcce.tar.gz"; 41 sha256 = "0sdyyawsz5zl2ffg4h4r3xcf73gfz9v0vgahccbp01if3m2g7p0y"; 42 }; 43 postUnpack = "sourceRoot+=/cabal2nix; echo source root reset to $sourceRoot"; 44 isLibrary = true; 45 isExecutable = true; 46 libraryHaskellDepends = [ 47 aeson 48 ansi-terminal 49 ansi-wl-pprint 50 base 51 bytestring 52 Cabal 53 containers 54 deepseq 55 directory 56 distribution-nixpkgs 57 filepath 58 hackage-db 59 hopenssl 60 hpack 61 language-nix 62 lens 63 optparse-applicative 64 pretty 65 process 66 split 67 text 68 time 69 transformers 70 yaml 71 ]; 72 executableHaskellDepends = [ 73 aeson 74 base 75 bytestring 76 Cabal 77 containers 78 directory 79 distribution-nixpkgs 80 filepath 81 hopenssl 82 language-nix 83 lens 84 monad-par 85 monad-par-extras 86 mtl 87 optparse-applicative 88 pretty 89 ]; 90 testHaskellDepends = [ 91 base 92 Cabal 93 containers 94 directory 95 filepath 96 language-nix 97 lens 98 pretty 99 process 100 tasty 101 tasty-golden 102 ]; 103 preCheck = '' 104 export PATH="$PWD/dist/build/cabal2nix:$PATH" 105 export HOME="$TMPDIR/home" 106 ''; 107 homepage = "https://github.com/nixos/cabal2nix#readme"; 108 description = "Convert Cabal files into Nix build instructions"; 109 license = lib.licenses.bsd3; 110}