asn2quickder: 1.3.0 -> 1.7.1

+23 -11
+22 -10
pkgs/development/tools/asn2quickder/default.nix
··· 1 - { lib, buildPythonApplication, fetchFromGitHub, makeWrapper, cmake 2 - , pytest-runner, pytest, six, pyparsing, asn1ate }: 1 + { lib 2 + , buildPythonApplication 3 + , fetchFromGitLab 4 + , makeWrapper 5 + , cmake 6 + , six 7 + , pyparsing 8 + , asn1ate 9 + , colored 10 + }: 3 11 4 12 buildPythonApplication rec { 5 13 pname = "asn2quickder"; 6 - version = "1.3.0"; 14 + version = "1.7.1"; 7 15 8 - src = fetchFromGitHub { 9 - sha256 = "15lxv8vcjnsjxg7ywcac5p6mj5vf5pxq1219yap653ci4f1liqfr"; 10 - rev = "version-${version}"; 11 - owner = "vanrein"; 16 + src = fetchFromGitLab { 17 + owner = "arpa2"; 12 18 repo = "quick-der"; 19 + rev = "v${version}"; 20 + sha256 = "sha256-f+ph5PL+uWRkswpOLDwZFWjh938wxoJ6xocJZ2WZLEk="; 13 21 }; 14 22 15 23 postPatch = '' 16 24 patchShebangs ./python/scripts/* 25 + 26 + # Unpin pyparsing 3.0.0. Issue resolved in latest version. 27 + substituteInPlace setup.py --replace 'pyparsing==3.0.0' 'pyparsing' 17 28 ''; 18 29 19 30 dontUseCmakeConfigure = true; 20 31 21 32 nativeBuildInputs = [ makeWrapper cmake ]; 22 - checkInputs = [ pytest-runner pytest ]; 23 33 24 - propagatedBuildInputs = [ pyparsing asn1ate six ]; 34 + propagatedBuildInputs = [ pyparsing asn1ate six colored ]; 35 + 36 + doCheck = false; # Flaky tests 25 37 26 38 meta = with lib; { 27 39 description = "An ASN.1 compiler with a backend for Quick DER"; 28 - homepage = "https://github.com/vanrein/asn2quickder"; 40 + homepage = "https://gitlab.com/arpa2/quick-der"; 29 41 license = licenses.bsd3; 30 42 platforms = platforms.linux; 31 43 maintainers = with maintainers; [ leenaars ];
+1 -1
pkgs/top-level/all-packages.nix
··· 16025 16025 16026 16026 arpa2common = callPackage ../development/libraries/arpa2common { }; 16027 16027 16028 - asn2quickder = python2Packages.callPackage ../development/tools/asn2quickder {}; 16028 + asn2quickder = python3Packages.callPackage ../development/tools/asn2quickder {}; 16029 16029 16030 16030 astyle = callPackage ../development/tools/misc/astyle { }; 16031 16031