2020-04-24 23:36:52 +00:00
|
|
|
{ lib, python, buildPythonPackage, fetchPypi }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dnslib";
|
2020-06-18 07:06:33 +00:00
|
|
|
version = "0.9.13";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-18 07:06:33 +00:00
|
|
|
sha256 = "a0fed3e139c12ee4884b19bcde1d4a170745bcabb6026397876e3236ce38b9db";
|
2020-04-24 23:36:52 +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 ];
|
|
|
|
};
|
|
|
|
}
|