nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

quickder: 1.3.0 -> 1.7.1

+39 -32
+39 -32
pkgs/development/libraries/quickder/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, python3Packages, hexio 2 - , cmake, bash, arpa2cm, git, asn2quickder }: 1 + { lib 2 + , stdenv 3 + , fetchFromGitLab 4 + , python3 5 + , cmake 6 + , doxygen 7 + , graphviz 8 + , quickmem 9 + , arpa2common 10 + , arpa2cm 11 + , ensureNewerSourcesForZipFilesHook 12 + }: 3 13 4 14 stdenv.mkDerivation rec { 5 15 pname = "quickder"; 6 - version = "1.3.0"; 16 + version = "1.7.1"; 7 17 8 - src = fetchFromGitHub { 9 - sha256 = "15lxv8vcjnsjxg7ywcac5p6mj5vf5pxq1219yap653ci4f1liqfr"; 10 - rev = "version-${version}"; 11 - owner = "vanrein"; 18 + src = fetchFromGitLab { 19 + owner = "arpa2"; 12 20 repo = "quick-der"; 21 + rev = "v${version}"; 22 + sha256 = "sha256-f+ph5PL+uWRkswpOLDwZFWjh938wxoJ6xocJZ2WZLEk="; 13 23 }; 14 24 15 - nativeBuildInputs = [ cmake ]; 16 - 17 - buildInputs = with python3Packages; [ 18 - arpa2cm 19 - asn1ate 20 - hexio 21 - pyparsing 22 - python 23 - six 24 - asn1ate 25 - asn2quickder 25 + nativeBuildInputs = [ 26 + cmake 27 + doxygen 28 + graphviz 29 + ensureNewerSourcesForZipFilesHook 26 30 ]; 31 + 32 + buildInputs = [ 33 + arpa2cm 34 + arpa2common 35 + (python3.withPackages (ps: with ps; [ 36 + asn1ate 37 + colored 38 + pyparsing 39 + setuptools 40 + six 41 + ])) 42 + quickmem 43 + ]; 44 + 27 45 28 46 postPatch = '' 29 - substituteInPlace ./CMakeLists.txt \ 30 - --replace "get_version_from_git" "set (Quick-DER_VERSION 1.2) #" 31 - substituteInPlace ./CMakeLists.txt \ 32 - --replace \$\{ARPA2CM_TOOLCHAIN_DIR} "$out/share/ARPA2CM/toolchain/" 33 - patchShebangs python/scripts/ 47 + substituteInPlace setup.py --replace 'pyparsing==' 'pyparsing>=' 34 48 ''; 35 49 36 - cmakeFlags = [ 37 - "-DNO_TESTING=ON" 38 - "-DARPA2CM_TOOLCHAIN_DIR=$out/share/ARPA2CM/toolchain/" 39 - ]; 40 - 41 - preConfigure = '' 42 - export PREFIX=$out 43 - ''; 50 + doCheck = true; 44 51 45 52 meta = with lib; { 46 53 description = "Quick (and Easy) DER, a Library for parsing ASN.1"; 47 - homepage = "https://github.com/vanrein/quick-der"; 54 + homepage = "https://gitlab.com/arpa2/quick-der/"; 48 55 license = licenses.bsd2; 49 56 platforms = platforms.linux; 50 57 maintainers = with maintainers; [ leenaars ];