3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/dnslib/default.nix
2022-01-10 07:43:42 +00:00

21 lines
553 B
Nix

{ lib, python, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "dnslib";
version = "0.9.18";
src = fetchPypi {
inherit pname version;
sha256 = "71a60664e275b411e08d9807aaafd2ee897a872bed003d5c8fdf12f5818503da";
};
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 ];
};
}