14910f5943
GitOrigin-RevId: 5aaed40d22f0d9376330b6fa413223435ad6fee5
20 lines
553 B
Nix
20 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 ];
|
|
};
|
|
}
|