From 76156be3111fa854c2ca000d1f7889d7825461e5 Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Mon, 7 Nov 2022 12:21:33 +0000 Subject: [PATCH] pgp-wordlist: init at 0.1.0.3 --- manifest.dhall | 1 + overlay.nix | 2 ++ pkgs/pgp-wordlist.nix | 45 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 48 insertions(+) create mode 100644 pkgs/pgp-wordlist.nix diff --git a/manifest.dhall b/manifest.dhall index 2a1f74cf..bb9a766b 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -542,6 +542,7 @@ in [ callHackage "Cabal" "3.8.1.0" "https://github.com/Kleidukos/pg-transact-effectful" (Some "45730b124c7c21f1dcfd85667fda1c19b8ec9723") (None Text) + , callHackage "pgp-wordlist" "0.1.0.3" , callHackage "pointed" "5.0.4" , callHackage "polyparse" "1.13" , callHackage "polysemy-extra" "0.2.1.0" diff --git a/overlay.nix b/overlay.nix index 3d049f95..70952b24 100644 --- a/overlay.nix +++ b/overlay.nix @@ -817,6 +817,8 @@ self: with pkgs.haskell.lib; { pg-transact-effectful = self.callPackage (./pkgs/pg-transact-effectful.nix) { }; + pgp-wordlist = self.callPackage (./pkgs/pgp-wordlist.nix) { }; + pointed = self.callPackage (./pkgs/pointed.nix) { }; polyparse = self.callPackage (./pkgs/polyparse.nix) { }; diff --git a/pkgs/pgp-wordlist.nix b/pkgs/pgp-wordlist.nix new file mode 100644 index 00000000..1ae1fc8b --- /dev/null +++ b/pkgs/pgp-wordlist.nix @@ -0,0 +1,45 @@ +{ mkDerivation +, base +, bytestring +, containers +, deepseq +, doctest +, HUnit +, lib +, tasty +, tasty-hunit +, tasty-quickcheck +, text +, vector +}: +mkDerivation { + pname = "pgp-wordlist"; + version = "0.1.0.3"; + sha256 = "ef3b560276981def53abc01cbe3cb4d0bece8eaa8a210ee890729ee500c4e695"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ base bytestring containers text vector ]; + testHaskellDepends = [ + base + bytestring + deepseq + doctest + HUnit + tasty + tasty-hunit + tasty-quickcheck + text + ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/quchen/pgp-wordlist"; + description = "Translate between binary data and a human-readable collection of words"; + license = lib.licenses.bsd3; + broken = false; +} -- GitLab