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
1
-
{ lib, buildPythonApplication, fetchFromGitHub, makeWrapper, cmake
2
2
-
, pytest-runner, pytest, six, pyparsing, asn1ate }:
1
1
+
{ lib
2
2
+
, buildPythonApplication
3
3
+
, fetchFromGitLab
4
4
+
, makeWrapper
5
5
+
, cmake
6
6
+
, six
7
7
+
, pyparsing
8
8
+
, asn1ate
9
9
+
, colored
10
10
+
}:
3
11
4
12
buildPythonApplication rec {
5
13
pname = "asn2quickder";
6
6
-
version = "1.3.0";
14
14
+
version = "1.7.1";
7
15
8
8
-
src = fetchFromGitHub {
9
9
-
sha256 = "15lxv8vcjnsjxg7ywcac5p6mj5vf5pxq1219yap653ci4f1liqfr";
10
10
-
rev = "version-${version}";
11
11
-
owner = "vanrein";
16
16
+
src = fetchFromGitLab {
17
17
+
owner = "arpa2";
12
18
repo = "quick-der";
19
19
+
rev = "v${version}";
20
20
+
sha256 = "sha256-f+ph5PL+uWRkswpOLDwZFWjh938wxoJ6xocJZ2WZLEk=";
13
21
};
14
22
15
23
postPatch = ''
16
24
patchShebangs ./python/scripts/*
25
25
+
26
26
+
# Unpin pyparsing 3.0.0. Issue resolved in latest version.
27
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
22
-
checkInputs = [ pytest-runner pytest ];
23
33
24
24
-
propagatedBuildInputs = [ pyparsing asn1ate six ];
34
34
+
propagatedBuildInputs = [ pyparsing asn1ate six colored ];
35
35
+
36
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
28
-
homepage = "https://github.com/vanrein/asn2quickder";
40
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
16028
-
asn2quickder = python2Packages.callPackage ../development/tools/asn2quickder {};
16028
16028
+
asn2quickder = python3Packages.callPackage ../development/tools/asn2quickder {};
16029
16029
16030
16030
astyle = callPackage ../development/tools/misc/astyle { };
16031
16031