diff --git a/manifest.dhall b/manifest.dhall index ab82c2cdb92c7b76c4c58ab7b9f9220ae6984aa6..a57fbc7449eb67a304964bb7d23f71880357b8ed 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -77,6 +77,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "ansi-wl-pprint" "0.6.9" , callHackage "apecs" "0.9.4" , callHackage "asn1-encoding" "0.9.6" + , callHackage "asn1-parse" "0.9.5" , callHackage "asn1-types" "0.3.4" , callHackage "assoc" "1.0.2" , callHackage "async" "2.2.4" diff --git a/overlay.nix b/overlay.nix index badf8d104b78e2f0135106fd9bd77fef03285735..c223a2ee63c2b8ac16c60a2f61740b5d4eb988be 100644 --- a/overlay.nix +++ b/overlay.nix @@ -37,6 +37,8 @@ final: prev: with pkgs.haskell.lib; { asn1-encoding = prev.callPackage (./pkgs/asn1-encoding.nix) { }; + asn1-parse = prev.callPackage (./pkgs/asn1-parse.nix) { }; + asn1-types = prev.callPackage (./pkgs/asn1-types.nix) { }; assoc = prev.callPackage (./pkgs/assoc.nix) { }; diff --git a/pkgs/asn1-parse.nix b/pkgs/asn1-parse.nix new file mode 100644 index 0000000000000000000000000000000000000000..0ebb8e986e36afaf5ff26efe6b4f66742f6a335e --- /dev/null +++ b/pkgs/asn1-parse.nix @@ -0,0 +1,26 @@ +{ mkDerivation, asn1-encoding, asn1-types, base, bytestring, lib }: +mkDerivation { + pname = "asn1-parse"; + version = "0.9.5"; + sha256 = "8f1fe1344d30b39dc594d74df2c55209577722af1497204b4c2b6d6e8747f39e"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ + asn1-encoding + asn1-types + base + bytestring + ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/vincenthz/hs-asn1"; + description = "Simple monadic parser for ASN1 stream types"; + license = lib.licenses.bsd3; + broken = false; +}