Fabian Affolter 2023-09-27 10:39:37 +02:00
parent 42c4d51f91
commit 44c948f56a

View file

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, poetry-core
, pyopenssl
, pythonOlder
, requests
@ -9,19 +10,20 @@
buildPythonPackage rec {
pname = "netio";
version = "1.0.10";
format = "pyproject";
version = "1.0.13";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
pname ="Netio";
inherit version;
hash = "sha256-+fGs7ZwvspAW4GlO5Hx+gNb+7Mhl9HC4pijHyk+8PYs=";
src = fetchFromGitHub {
owner = "netioproducts";
repo = "PyNetio";
rev = "refs/tags/v${version}";
hash = "sha256-s/X2WGhQXYsbo+ZPpkVSF/vclaThYYNHu0UY0yCnfPA=";
};
nativeBuildInputs = [
setuptools
poetry-core
];
propagatedBuildInputs = [