From 00b0a35ecd987c36487c0795e0ad927f475b5a9c Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Sat, 5 Nov 2022 08:32:51 +0000 Subject: [PATCH] pem: init at 0.2.4 --- manifest.dhall | 1 + overlay.nix | 2 ++ pkgs/pem.nix | 41 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 44 insertions(+) create mode 100644 pkgs/pem.nix diff --git a/manifest.dhall b/manifest.dhall index abb24221..0ffc3ae8 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -340,6 +340,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "password" "3.0.2.0" , callHackage "pcg-random" "0.1.3.7" , callHackage "pcre2" "2.2.1" + , callHackage "pem" "0.2.4" , callHackage "persistent" "2.14.3.0" , callHackage "pg-entity" "0.0.2.0" , callHackage "pg-transact" "0.3.2.0" diff --git a/overlay.nix b/overlay.nix index b2be85a2..fc6b761d 100644 --- a/overlay.nix +++ b/overlay.nix @@ -403,6 +403,8 @@ final: prev: with pkgs.haskell.lib; { pcre2 = prev.callPackage (./pkgs/pcre2.nix) { }; + pem = prev.callPackage (./pkgs/pem.nix) { }; + persistent = prev.callPackage (./pkgs/persistent.nix) { }; pg-entity = prev.callPackage (./pkgs/pg-entity.nix) { }; diff --git a/pkgs/pem.nix b/pkgs/pem.nix new file mode 100644 index 00000000..32b168b6 --- /dev/null +++ b/pkgs/pem.nix @@ -0,0 +1,41 @@ +{ mkDerivation +, base +, basement +, bytestring +, HUnit +, lib +, memory +, QuickCheck +, test-framework +, test-framework-hunit +, test-framework-quickcheck2 +}: +mkDerivation { + pname = "pem"; + version = "0.2.4"; + sha256 = "770c4c1b9cd24b3db7f511f8a48404a0d098999e28573c3743a8a296bb96f8d4"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ base basement bytestring memory ]; + 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://github.com/vincenthz/hs-pem"; + description = "Privacy Enhanced Mail (PEM) format reader and writer"; + license = lib.licenses.bsd3; + broken = false; +} -- GitLab