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