mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
quickder: init at 1.0-RC1
This commit is contained in:
parent
651beb0592
commit
08011fa2af
38
pkgs/development/libraries/quickder/default.nix
Normal file
38
pkgs/development/libraries/quickder/default.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{ stdenv, fetchFromGitHub, fetchurl, hexio, python, which, asn2quickder, bash }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "quickder";
|
||||
name = "${pname}-${version}";
|
||||
version = "1.0-RC1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
sha256 = "05gw5dqkw3l8kwwm0044zpxhcp7sxicx9wxbfyr49c91403p870w";
|
||||
rev = "version-${version}";
|
||||
owner = "vanrein";
|
||||
repo = "quick-der";
|
||||
};
|
||||
|
||||
buildInputs = [ which asn2quickder bash ];
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace Makefile \
|
||||
--replace 'lib tool test rfc' 'lib test rfc'
|
||||
substituteInPlace ./rfc/Makefile \
|
||||
--replace 'ASN2QUICKDER_CMD = ' 'ASN2QUICKDER_CMD = ${asn2quickder}/bin/asn2quickder #'
|
||||
'';
|
||||
|
||||
installFlags = "ASN2QUICKDER_DIR=${asn2quickder}/bin ASN2QUICKDER_CMD=${asn2quickder}/bin/asn2quickder";
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib $out/man
|
||||
make DESTDIR=$out PREFIX=/ all
|
||||
make DESTDIR=$out PREFIX=/ install
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Quick (and Easy) DER, a Library for parsing ASN.1";
|
||||
homepage = https://github.com/vanrein/quick-der;
|
||||
license = licenses.bsd2;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ leenaars ];
|
||||
};
|
||||
}
|
@ -8884,6 +8884,8 @@ in
|
||||
|
||||
quesoglc = callPackage ../development/libraries/quesoglc { };
|
||||
|
||||
quickder = callPackage ../development/libraries/quickder {};
|
||||
|
||||
quicksynergy = callPackage ../applications/misc/quicksynergy { };
|
||||
|
||||
qwt = callPackage ../development/libraries/qwt {};
|
||||
|
Loading…
Reference in New Issue
Block a user