diff --git a/manifest.dhall b/manifest.dhall index 5d98cbc21f96844a76b0441184486120dee52a33..7d168e892f6ccd3528458a04c4bc8fbb326ede25 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -126,6 +126,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "byteable" "0.1.1" , callHackage "byteorder" "1.0.4" , callHackage "bytestring-builder" "0.10.8.2.0" + , callHackage "bytestring-handle" "0.1.0.6" , callHackage "bytes" "0.17.2" , callHackage "c2hs" "0.28.8" , callHackage "cabal-doctest" "1.0.9" diff --git a/overlay.nix b/overlay.nix index 8934cff48b1736b14f862f1c334a1507bb4fe19b..b02aa08edf13c77ebfc1111458e6a57bf56a185a 100644 --- a/overlay.nix +++ b/overlay.nix @@ -147,6 +147,8 @@ self: with pkgs.haskell.lib; { bytestring-builder = self.callPackage (./pkgs/bytestring-builder.nix) { }; + bytestring-handle = self.callPackage (./pkgs/bytestring-handle.nix) { }; + c2hs = self.callPackage (./pkgs/c2hs.nix) { }; cabal-doctest = self.callPackage (./pkgs/cabal-doctest.nix) { }; diff --git a/pkgs/bytestring-handle.nix b/pkgs/bytestring-handle.nix new file mode 100644 index 0000000000000000000000000000000000000000..85dec8a59c42b774ac4673c183b663619a146d78 --- /dev/null +++ b/pkgs/bytestring-handle.nix @@ -0,0 +1,41 @@ +{ mkDerivation +, base +, bytestring +, HUnit +, lib +, QuickCheck +, test-framework +, test-framework-hunit +, test-framework-quickcheck2 +}: +mkDerivation { + pname = "bytestring-handle"; + version = "0.1.0.6"; + sha256 = "fe681cdf7e2238389b6d2090e264b10d0e5085658c89e7ffc870c7a0a43ac1a1"; + revision = "2"; + editedCabalFile = "1x1sy3dz2ph9v6jk22wmcv5gk2bka5fv4s68i8q0j9m9pk085w37"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ base bytestring ]; + testHaskellDepends = [ + base + bytestring + HUnit + QuickCheck + test-framework + test-framework-hunit + test-framework-quickcheck2 + ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "http://hub.darcs.net/ganesh/bytestring-handle"; + description = "ByteString-backed Handles"; + license = lib.licenses.bsd3; + broken = false; +}