2020-04-24 23:36:52 +00:00
|
|
|
{ lib, python, buildPythonPackage, fetchPypi }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dnslib";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "0.9.16";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-28 23:13:55 +00:00
|
|
|
sha256 = "2d66b43d563d60c469117c8cb615843e7d05bf8fb2e6cb00a637281d26b7ec7d";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|