tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
asn2quickder: 1.3.0 -> 1.7.1
Aaron Jheng
3 years ago
85d72284
0f3ea348
+23
-11
2 changed files
expand all
collapse all
unified
split
pkgs
development
tools
asn2quickder
default.nix
top-level
all-packages.nix
+22
-10
pkgs/development/tools/asn2quickder/default.nix
···
1
-
{ lib, buildPythonApplication, fetchFromGitHub, makeWrapper, cmake
2
-
, pytest-runner, pytest, six, pyparsing, asn1ate }:
0
0
0
0
0
0
0
0
3
4
buildPythonApplication 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";
0
0
13
};
14
15
postPatch = ''
16
patchShebangs ./python/scripts/*
0
0
0
17
'';
18
19
dontUseCmakeConfigure = true;
20
21
nativeBuildInputs = [ makeWrapper cmake ];
22
-
checkInputs = [ pytest-runner pytest ];
23
24
-
propagatedBuildInputs = [ pyparsing asn1ate six ];
0
0
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 ];
···
1
+
{ lib
2
+
, buildPythonApplication
3
+
, fetchFromGitLab
4
+
, makeWrapper
5
+
, cmake
6
+
, six
7
+
, pyparsing
8
+
, asn1ate
9
+
, colored
10
+
}:
11
12
buildPythonApplication rec {
13
pname = "asn2quickder";
14
+
version = "1.7.1";
15
16
+
src = fetchFromGitLab {
17
+
owner = "arpa2";
0
0
18
repo = "quick-der";
19
+
rev = "v${version}";
20
+
sha256 = "sha256-f+ph5PL+uWRkswpOLDwZFWjh938wxoJ6xocJZ2WZLEk=";
21
};
22
23
postPatch = ''
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'
28
'';
29
30
dontUseCmakeConfigure = true;
31
32
nativeBuildInputs = [ makeWrapper cmake ];
0
33
34
+
propagatedBuildInputs = [ pyparsing asn1ate six colored ];
35
+
36
+
doCheck = false; # Flaky tests
37
38
meta = with lib; {
39
description = "An ASN.1 compiler with a backend for Quick DER";
40
+
homepage = "https://gitlab.com/arpa2/quick-der";
41
license = licenses.bsd3;
42
platforms = platforms.linux;
43
maintainers = with maintainers; [ leenaars ];
+1
-1
pkgs/top-level/all-packages.nix
···
16025
16026
arpa2common = callPackage ../development/libraries/arpa2common { };
16027
16028
-
asn2quickder = python2Packages.callPackage ../development/tools/asn2quickder {};
16029
16030
astyle = callPackage ../development/tools/misc/astyle { };
16031
···
16025
16026
arpa2common = callPackage ../development/libraries/arpa2common { };
16027
16028
+
asn2quickder = python3Packages.callPackage ../development/tools/asn2quickder {};
16029
16030
astyle = callPackage ../development/tools/misc/astyle { };
16031