Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, attrs 5, six 6, asn1crypto 7, python-dateutil 8}: 9 10buildPythonPackage rec { 11 pname = "cryptoparser"; 12 version = "0.8.4"; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-Sn4sfzu1Y1gC+4K9WdiZW92cYuVbUsBXcNbNQOv0BRw="; 17 }; 18 19 propagatedBuildInputs = [ 20 attrs 21 six 22 asn1crypto 23 python-dateutil 24 ]; 25 26 pythonImportsCheck = [ 27 "cryptoparser" 28 ]; 29 30 meta = with lib; { 31 description = "Security protocol parser and generator"; 32 homepage = "https://gitlab.com/coroner/cryptoparser"; 33 changelog = "https://gitlab.com/coroner/cryptoparser/-/blob/v${version}/CHANGELOG.md"; 34 license = licenses.mpl20; 35 maintainers = with maintainers; [ kranzes ]; 36 }; 37}