asn1c: re-init at 0.9.28

Removal before was a false positive.
This commit is contained in:
Morgan Jones 2022-12-26 19:34:49 -08:00
parent 86a14dbfe8
commit 65902d647c
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 { };