Loading pkgs/development/python-modules/pyvicare/default.nix +12 −12 Original line number Diff line number Diff line { lib , authlib , buildPythonPackage , fetchFromGitHub , pkce , pytestCheckHook , pythonOlder , requests-oauthlib , simplejson }: buildPythonPackage rec { pname = "pyvicare"; version = "2.25.0"; version = "2.27.1"; format = "setuptools"; disabled = pythonOlder "3.7"; Loading @@ -18,28 +18,28 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "somm15"; repo = "PyViCare"; rev = version; hash = "sha256-OZvYl8wl8kOIOfsWVn74XFKMX/jAmtoMTIEQpAZmTeo="; rev = "refs/tags/${version}"; hash = "sha256-PlXVsDLCEBjsll9cXPJqvNSFyjtGol9jXYWzaYHWNw4="; }; SETUPTOOLS_SCM_PRETEND_VERSION = version; postPatch = '' substituteInPlace setup.py \ --replace "version_config=True," 'version="${version}",' \ --replace "'setuptools-git-versioning<1.8.0'" "" ''; propagatedBuildInputs = [ requests-oauthlib simplejson authlib pkce ]; nativeCheckInputs = [ pytestCheckHook simplejson ]; postPatch = '' substituteInPlace setup.py \ --replace "version_config=True," 'version="${version}",' \ --replace "'setuptools-git-versioning<1.8.0'" "" ''; pythonImportsCheck = [ "PyViCare" ]; Loading Loading
pkgs/development/python-modules/pyvicare/default.nix +12 −12 Original line number Diff line number Diff line { lib , authlib , buildPythonPackage , fetchFromGitHub , pkce , pytestCheckHook , pythonOlder , requests-oauthlib , simplejson }: buildPythonPackage rec { pname = "pyvicare"; version = "2.25.0"; version = "2.27.1"; format = "setuptools"; disabled = pythonOlder "3.7"; Loading @@ -18,28 +18,28 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "somm15"; repo = "PyViCare"; rev = version; hash = "sha256-OZvYl8wl8kOIOfsWVn74XFKMX/jAmtoMTIEQpAZmTeo="; rev = "refs/tags/${version}"; hash = "sha256-PlXVsDLCEBjsll9cXPJqvNSFyjtGol9jXYWzaYHWNw4="; }; SETUPTOOLS_SCM_PRETEND_VERSION = version; postPatch = '' substituteInPlace setup.py \ --replace "version_config=True," 'version="${version}",' \ --replace "'setuptools-git-versioning<1.8.0'" "" ''; propagatedBuildInputs = [ requests-oauthlib simplejson authlib pkce ]; nativeCheckInputs = [ pytestCheckHook simplejson ]; postPatch = '' substituteInPlace setup.py \ --replace "version_config=True," 'version="${version}",' \ --replace "'setuptools-git-versioning<1.8.0'" "" ''; pythonImportsCheck = [ "PyViCare" ]; Loading