diff --git a/manifest.dhall b/manifest.dhall index c42bd821384e151d5a0211654398baeb591beef0..97ff084daf3d5e104f3f9bdc5472849dc2d2c7c2 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -599,6 +599,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "unordered-containers" "0.2.19.1" , callHackage "uri-encode" "1.5.0.7" , callHackage "uuid-types" "1.0.5" + , callHackage "uuid" "1.3.15" , callHackage "validity" "0.12.0.1" , callHackage "validity-aeson" "0.2.0.5" , callHackage "validity-bytestring" "0.4.1.1" diff --git a/overlay.nix b/overlay.nix index 0a027050d0a6b4d7ceb68883a7945bdd8af52dd4..91960c32dbd0678b8dc6654f4592a0adf2375880 100644 --- a/overlay.nix +++ b/overlay.nix @@ -811,6 +811,8 @@ final: prev: with pkgs.haskell.lib; { uri-encode = prev.callPackage (./pkgs/uri-encode.nix) { }; + uuid = prev.callPackage (./pkgs/uuid.nix) { }; + uuid-types = prev.callPackage (./pkgs/uuid-types.nix) { }; validity = prev.callPackage (./pkgs/validity.nix) { }; diff --git a/pkgs/uuid.nix b/pkgs/uuid.nix new file mode 100644 index 0000000000000000000000000000000000000000..7d3af658a60ab34f7a21800da1521b6aa93f314d --- /dev/null +++ b/pkgs/uuid.nix @@ -0,0 +1,61 @@ +{ mkDerivation +, base +, binary +, bytestring +, cryptohash-md5 +, cryptohash-sha1 +, entropy +, lib +, network-info +, QuickCheck +, random +, tasty +, tasty-hunit +, tasty-quickcheck +, text +, time +, uuid-types +}: +mkDerivation { + pname = "uuid"; + version = "1.3.15"; + sha256 = "f885958d8934930b7c0f9b91f980722f7f992c9383fc98f075cf9df64c800564"; + revision = "2"; + editedCabalFile = "06j1hk4alypnwd4v55w6lfm1jrsaqh85k350qmymw0sqbrd9rmx3"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + base + binary + bytestring + cryptohash-md5 + cryptohash-sha1 + entropy + network-info + random + text + time + uuid-types + ]; + testHaskellDepends = [ + base + bytestring + QuickCheck + random + tasty + tasty-hunit + tasty-quickcheck + ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/haskell-hvr/uuid"; + description = "For creating, comparing, parsing and printing Universally Unique Identifiers"; + license = lib.licenses.bsd3; + broken = false; +}