depot/third_party/nixpkgs/pkgs/development/python-modules/srvlookup/default.nix
Default email 1ffc76754d Project import generated by Copybara.
GitOrigin-RevId: a5cc7d3197705f933d88e97c0c61849219ce76c1
2020-07-18 18:06:22 +02:00

24 lines
636 B
Nix

{ stdenv, fetchPypi, buildPythonPackage
, dnspython
, mock, nose
}:
buildPythonPackage rec {
pname = "srvlookup";
version = "2.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "1zf1v04zd5phabyqh0nhplr5a8vxskzfrzdh4akljnz1yk2n2a0b";
};
propagatedBuildInputs = [ dnspython ];
checkInputs = [ mock nose ];
meta = with stdenv.lib; {
homepage = "https://github.com/gmr/srvlookup";
license = [ licenses.bsd3 ];
description = "A small wrapper for dnspython to return SRV records for a given host, protocol, and domain name as a list of namedtuples.";
maintainers = [ maintainers.mmlb ];
};
}