Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 20 lines 551 B view raw
1{ lib, python, buildPythonPackage, fetchPypi }: 2 3buildPythonPackage rec { 4 pname = "dnslib"; 5 version = "0.9.10"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "666bf55274a630a2925411c4ea9ca724529299bbe70f91979ad99c72c5e5099e"; 10 }; 11 12 checkPhase = "VERSIONS=${python.interpreter} ./run_tests.sh"; 13 14 meta = with lib; { 15 description = "Simple library to encode/decode DNS wire-format packets"; 16 license = licenses.bsd2; 17 homepage = https://bitbucket.org/paulc/dnslib/; 18 maintainers = with maintainers; [ delroth ]; 19 }; 20}