mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
asn2quickder: init at 0.7RC1
This commit is contained in:
parent
19f2556773
commit
651beb0592
2 changed files with 38 additions and 0 deletions
36
pkgs/development/tools/asn2quickder/default.nix
Normal file
36
pkgs/development/tools/asn2quickder/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ stdenv, fetchFromGitHub, pythonPackages, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "asn2quickder";
|
||||
name = "${pname}-${version}";
|
||||
version = "0.7-RC1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
sha256 = "0ynajhbml28m4ipbj5mscjcv6g1a7frvxfimxh813rhgl0w3sgq8";
|
||||
rev = "version-${version}";
|
||||
owner = "vanrein";
|
||||
repo = "${pname}";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [ pyparsing makeWrapper ];
|
||||
|
||||
patchPhase = with pythonPackages; ''
|
||||
substituteInPlace Makefile \
|
||||
--replace '..' '..:$(DESTDIR)/${python.sitePackages}:${pythonPackages.pyparsing}/${python.sitePackages}' \
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/${pythonPackages.python.sitePackages}/
|
||||
mkdir -p $out/bin $out/lib $out/sbin $out/man
|
||||
make DESTDIR=$out PREFIX=/ all
|
||||
make DESTDIR=$out PREFIX=/ install
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "An ASN.1 compiler with a backend for Quick DER";
|
||||
homepage = https://github.com/vanrein/asn2quickder;
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ leenaars ];
|
||||
};
|
||||
}
|
|
@ -5718,6 +5718,8 @@ in
|
|||
apacheKafka_0_9 = callPackage ../servers/apache-kafka { majorVersion = "0.9"; };
|
||||
apacheKafka_0_10 = callPackage ../servers/apache-kafka { majorVersion = "0.10"; };
|
||||
|
||||
asn2quickder = callPackage ../development/tools/asn2quickder {};
|
||||
|
||||
astyle = callPackage ../development/tools/misc/astyle { };
|
||||
|
||||
electron = callPackage ../development/tools/electron { };
|
||||
|
|
Loading…
Reference in a new issue