2019-03-25 07:57:58 +00:00
|
|
|
{ lib, python, buildPythonPackage, fetchPypi }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dnslib";
|
2019-04-16 17:15:35 +00:00
|
|
|
version = "0.9.10";
|
2019-03-25 07:57:58 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-04-16 17:15:35 +00:00
|
|
|
sha256 = "666bf55274a630a2925411c4ea9ca724529299bbe70f91979ad99c72c5e5099e";
|
2019-03-25 07:57:58 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkPhase = "VERSIONS=${python.interpreter} ./run_tests.sh";
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Simple library to encode/decode DNS wire-format packets";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
homepage = https://bitbucket.org/paulc/dnslib/;
|
|
|
|
maintainers = with maintainers; [ delroth ];
|
|
|
|
};
|
|
|
|
}
|