diff --git a/lib/maintainers.nix b/lib/maintainers.nix index 115f09f119f..79c58115952 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -289,6 +289,7 @@ mlieberman85 = "Michael Lieberman "; modulistic = "Pablo Costa "; mog = "Matthew O'Gorman "; + montag451 = "montag451 "; moosingin3space = "Nathan Moos "; moretea = "Maarten Hoogendoorn "; mornfall = "Petr Ročkai "; diff --git a/pkgs/development/compilers/asn1c/default.nix b/pkgs/development/compilers/asn1c/default.nix new file mode 100644 index 00000000000..d3c4bf19a65 --- /dev/null +++ b/pkgs/development/compilers/asn1c/default.nix @@ -0,0 +1,33 @@ +{ stdenv, fetchurl, perl }: + +stdenv.mkDerivation rec { + name = "asn1c-${version}"; + version = "0.9.27"; + + src = fetchurl { + url = "http://lionet.info/soft/asn1c-${version}.tar.gz"; + sha256 = "17nvn2kzvlryasr9dzqg6gs27b9lvqpval0k31pb64bjqbhn8pq2"; + }; + + outputs = [ "out" "doc" "man" ]; + + buildInputs = [ perl ]; + + preConfigure = '' + patchShebangs examples/crfc2asn1.pl + ''; + + postInstall = '' + cp -r skeletons/standard-modules $out/share/asn1c + ''; + + doCheck = true; + + meta = with stdenv.lib; { + homepage = http://lionet.info/asn1c/compiler.html; + description = "Open Source ASN.1 Compiler"; + license = licenses.bsd2; + platforms = platforms.all; + maintainers = [ maintainers.montag451 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 726f5eb5336..696c65a9e5f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4499,6 +4499,8 @@ in arachne-pnr = callPackage ../development/compilers/arachne-pnr { }; + asn1c = callPackage ../development/compilers/asn1c { }; + aspectj = callPackage ../development/compilers/aspectj { }; ats = callPackage ../development/compilers/ats { };