pythonPackages.dnslib: init at 0.9.9 (#57101)

This commit is contained in:
Pierre Bourdon 2019-03-25 08:57:58 +01:00 committed by Robert Schütz
parent 4697790b3c
commit 6beffff797
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,20 @@
{ lib, python, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "dnslib";
version = "0.9.9";
src = fetchPypi {
inherit pname version;
sha256 = "0w8spp4fnw63xx9zj77zvgk1qabd97ifrj6gap2j36gydnarr42c";
};
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 ];
};
}

View file

@ -1749,6 +1749,8 @@ in {
dmenu-python = callPackage ../development/python-modules/dmenu { };
dnslib = callPackage ../development/python-modules/dnslib { };
dnspython = callPackage ../development/python-modules/dnspython { };
dns = self.dnspython; # Alias for compatibility, 2017-12-10