mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-11 06:34:13 +00:00
python312Packages.python-hosts: 1.0.6 -> 1.0.7
Changelog: https://github.com/jonhadfield/python-hosts/blob/1.0.7/CHANGELOG.md
This commit is contained in:
parent
10dc1b23fe
commit
67caa7f8fd
@ -10,25 +10,18 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "python-hosts";
|
pname = "python-hosts";
|
||||||
version = "1.0.6";
|
version = "1.0.7";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
pname = "python_hosts";
|
||||||
hash = "sha256-LfWfBzJ3UyArcHxrIUDsIa8pIr1WkUikf6F6v+IVLG4=";
|
inherit version;
|
||||||
|
hash = "sha256-TFaZHiL2v/woCWgz3nh/kjUOhbfN1ghnBnJcVcTwSrk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# win_inet_pton is required for Windows support
|
build-system = [ setuptools ];
|
||||||
prePatch = ''
|
|
||||||
substituteInPlace setup.py \
|
|
||||||
--replace "install_requires=['win_inet_pton']," ""
|
|
||||||
substituteInPlace python_hosts/utils.py \
|
|
||||||
--replace "import win_inet_pton" ""
|
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = [ setuptools ];
|
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
pyyaml
|
pyyaml
|
||||||
|
Loading…
Reference in New Issue
Block a user