mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
ab1c3d5963
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-py3dns/versions
31 lines
535 B
Nix
31 lines
535 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "py3dns";
|
|
version = "3.2.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1r25f0ys5p37bhld7m7n4gb0lrysaym3w318w2f8bncq7r3d81qz";
|
|
};
|
|
|
|
preConfigure = ''
|
|
sed -i \
|
|
-e '/import DNS/d' \
|
|
-e 's/DNS.__version__/"${version}"/g' \
|
|
setup.py
|
|
'';
|
|
|
|
doCheck = false;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Python 3 DNS library";
|
|
homepage = https://launchpad.net/py3dns;
|
|
license = licenses.psfl;
|
|
};
|
|
|
|
}
|