diff options
author | montag451 <montag451@laposte.net> | 2016-11-20 18:45:58 +0100 |
---|---|---|
committer | zimbatm <zimbatm@zimbatm.com> | 2016-11-20 17:45:58 +0000 |
commit | 1ff6680efe4c01db25e7b30e43bcd7348d3b8640 (patch) | |
tree | c816814d206d26a58e42e11a4f63751b95351508 /pkgs/development | |
parent | 322f5e51320086c7b99adde3e1a2c382bddb127b (diff) | |
download | nixpkgs-1ff6680efe4c01db25e7b30e43bcd7348d3b8640.tar nixpkgs-1ff6680efe4c01db25e7b30e43bcd7348d3b8640.tar.gz nixpkgs-1ff6680efe4c01db25e7b30e43bcd7348d3b8640.tar.bz2 nixpkgs-1ff6680efe4c01db25e7b30e43bcd7348d3b8640.tar.lz nixpkgs-1ff6680efe4c01db25e7b30e43bcd7348d3b8640.tar.xz nixpkgs-1ff6680efe4c01db25e7b30e43bcd7348d3b8640.tar.zst nixpkgs-1ff6680efe4c01db25e7b30e43bcd7348d3b8640.zip |
asn1c: init at 0.9.27 (#20577)
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/compilers/asn1c/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
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 ]; + }; +} |