Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.11 33 lines 879 B view raw
1{ lib, buildPythonApplication, fetchFromGitHub, makeWrapper, cmake 2, pytest-runner, pytest, six, pyparsing, asn1ate }: 3 4buildPythonApplication rec { 5 pname = "asn2quickder"; 6 version = "1.3.0"; 7 8 src = fetchFromGitHub { 9 sha256 = "15lxv8vcjnsjxg7ywcac5p6mj5vf5pxq1219yap653ci4f1liqfr"; 10 rev = "version-${version}"; 11 owner = "vanrein"; 12 repo = "quick-der"; 13 }; 14 15 postPatch = '' 16 patchShebangs ./python/scripts/* 17 ''; 18 19 dontUseCmakeConfigure = true; 20 21 nativeBuildInputs = [ makeWrapper cmake ]; 22 checkInputs = [ pytest-runner pytest ]; 23 24 propagatedBuildInputs = [ pyparsing asn1ate six ]; 25 26 meta = with lib; { 27 description = "An ASN.1 compiler with a backend for Quick DER"; 28 homepage = "https://github.com/vanrein/asn2quickder"; 29 license = licenses.bsd3; 30 platforms = platforms.linux; 31 maintainers = with maintainers; [ leenaars ]; 32 }; 33}