Merge pull request #207909 from numinit/add-asn1c

This commit is contained in:
Sandro 2023-01-10 11:33:19 +01:00 committed by GitHub
commit dec762f688
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 35 additions and 1 deletions

View file

@ -0,0 +1,33 @@
{ lib, stdenv, fetchurl, perl }:
stdenv.mkDerivation rec {
pname = "asn1c";
version = "0.9.28";
src = fetchurl {
url = "https://lionet.info/soft/asn1c-${version}.tar.gz";
sha256 = "1fc64g45ykmv73kdndr4zdm4wxhimhrir4rxnygxvwkych5l81w0";
};
outputs = [ "out" "doc" "man" ];
buildInputs = [ perl ];
preConfigure = ''
patchShebangs examples/crfc2asn1.pl
'';
postInstall = ''
cp -r skeletons/standard-modules $out/share/asn1c
'';
doCheck = true;
meta = with lib; {
homepage = "http://lionet.info/asn1c/compiler.html";
description = "Open Source ASN.1 Compiler";
license = licenses.bsd2;
platforms = platforms.unix;
maintainers = [ maintainers.numinit ];
};
}

View file

@ -91,7 +91,6 @@ mapAliases ({
arduino_core = throw "'arduino_core' has been renamed to/replaced by 'arduino-core'"; # Converted to throw 2022-02-22
arora = throw "arora has been removed"; # Added 2020-09-09
asciidocFull = throw "'asciidocFull' has been renamed to/replaced by 'asciidoc-full'"; # Converted to throw 2022-02-22
asn1c = throw "asn1c has been removed: deleted by upstream"; # Added 2022-01-07
asterisk_13 = throw "asterisk_13: Asterisk 13 is end of life and has been removed"; # Added 2022-04-06
asterisk_15 = throw "asterisk_15: Asterisk 15 is end of life and has been removed"; # Added 2020-10-07
asterisk_17 = throw "asterisk_17: Asterisk 17 is end of life and has been removed"; # Added 2022-04-06

View file

@ -280,6 +280,8 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) CoreServices;
};
asn1c = callPackage ../development/compilers/asn1c { };
authy = callPackage ../applications/misc/authy { };
authz0 = callPackage ../tools/security/authz0 { };