From 5c6570208c3aed2848b066d549c7d76a43b63181 Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Sat, 5 Nov 2022 12:32:59 +0000 Subject: [PATCH] uuid: init at 1.3.15 --- manifest.dhall | 1 + overlay.nix | 2 ++ pkgs/uuid.nix | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 64 insertions(+) create mode 100644 pkgs/uuid.nix diff --git a/manifest.dhall b/manifest.dhall index c42bd821..97ff084d 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 0a027050..91960c32 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 00000000..7d3af658 --- /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; +} -- GitLab