3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/dnslib/default.nix
2022-07-18 10:37:57 +00:00

21 lines
540 B
Nix

{ lib, python, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "dnslib";
version = "0.9.20";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-ApCrXQj6vR74XvFD0cM/3NVJyy5Qd57BpCOZiw0LKUU=";
};
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 ];
};
}