2019-03-25 07:57:58 +00:00
|
|
|
{ lib, python, buildPythonPackage, fetchPypi }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dnslib";
|
2020-07-06 10:56:43 +01:00
|
|
|
version = "0.9.14";
|
2019-03-25 07:57:58 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-07-06 10:56:43 +01:00
|
|
|
sha256 = "1yz63cgiv910wkx90if09bql1n63lq6hy4wfpqink0q4sxy0mlpv";
|
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;
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://bitbucket.org/paulc/dnslib/";
|
2019-03-25 07:57:58 +00:00
|
|
|
maintainers = with maintainers; [ delroth ];
|
|
|
|
};
|
|
|
|
}
|