Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 20 lines 551 B view raw
1{ lib, python, buildPythonPackage, fetchPypi }: 2 3buildPythonPackage rec { 4 pname = "dnslib"; 5 version = "0.9.12"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "c206f09948f3ad17884adffdb552b700072c6022fa59744a0f0606114c475e19"; 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}