diff --git a/manifest.dhall b/manifest.dhall index a380c387c25941787a739b729a7aab429d1fcbf6..55b3c477c6134e31b9ce6341fc3176dcb0918447 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -715,6 +715,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "streaming" "0.2.3.1" , callHackage "store" "0.7.16" , callHackage "strict" "0.4.0.1" + , callHackage "string-conversions" "0.4.0.1" , callHackage "string-conv" "0.2.0" , callHackage "string-interpolate" "0.3.1.2" , callHackage "string-qq" "0.0.4" diff --git a/overlay.nix b/overlay.nix index d6ccfc1109dfca2d72c4a1c54a0c1a5fd301d4f0..f0f69bd5b0ea60bc37785276bf4d8a8655dc5db6 100644 --- a/overlay.nix +++ b/overlay.nix @@ -1107,6 +1107,8 @@ self: with pkgs.haskell.lib; { string-conv = self.callPackage (./pkgs/string-conv.nix) { }; + string-conversions = self.callPackage (./pkgs/string-conversions.nix) { }; + string-interpolate = self.callPackage (./pkgs/string-interpolate.nix) { }; string-qq = self.callPackage (./pkgs/string-qq.nix) { }; diff --git a/pkgs/string-conversions.nix b/pkgs/string-conversions.nix new file mode 100644 index 0000000000000000000000000000000000000000..cfa4a9006d6ed40e64c10b64dd7db9425ba79f84 --- /dev/null +++ b/pkgs/string-conversions.nix @@ -0,0 +1,41 @@ +{ mkDerivation +, base +, bytestring +, deepseq +, hspec +, lib +, QuickCheck +, quickcheck-instances +, text +, utf8-string +}: +mkDerivation { + pname = "string-conversions"; + version = "0.4.0.1"; + sha256 = "46bcce6d9ce62c558b7658a75d9c6a62f7259d6b0473d011d8078234ad6a1994"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ base bytestring text utf8-string ]; + testHaskellDepends = [ + base + bytestring + deepseq + hspec + QuickCheck + quickcheck-instances + text + utf8-string + ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/soenkehahn/string-conversions#readme"; + description = "Simplifies dealing with different types for strings"; + license = lib.licenses.bsd3; + broken = false; +}