diff options
Diffstat (limited to 'pkgs/development/python-modules/smart-meter-texas/default.nix')
-rw-r--r-- | pkgs/development/python-modules/smart-meter-texas/default.nix | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/pkgs/development/python-modules/smart-meter-texas/default.nix b/pkgs/development/python-modules/smart-meter-texas/default.nix index 556f978c73124..f373faeb278b7 100644 --- a/pkgs/development/python-modules/smart-meter-texas/default.nix +++ b/pkgs/development/python-modules/smart-meter-texas/default.nix @@ -1,17 +1,19 @@ -{ lib -, buildPythonPackage -, pythonOlder -, fetchFromGitHub -, aiohttp -, asn1 -, python-dateutil -, tenacity +{ + lib, + buildPythonPackage, + pythonOlder, + fetchFromGitHub, + aiohttp, + asn1, + python-dateutil, + setuptools, + tenacity, }: buildPythonPackage rec { pname = "smart-meter-texas"; - version = "0.5.3"; - format = "setuptools"; + version = "0.5.5"; + pyproject = true; disabled = pythonOlder "3.6"; @@ -19,15 +21,17 @@ buildPythonPackage rec { owner = "grahamwetzler"; repo = "smart-meter-texas"; rev = "refs/tags/v${version}"; - hash = "sha256-8htd5fLrtkaVlSEm+RB7tWA5YZkcAOjAXVNzZiMwP7k="; + hash = "sha256-dHWcYrBtmKdEIU45rMy4KvoPX88hnRpd4KBlbJaNvgI="; }; postPatch = '' substituteInPlace setup.py \ - --replace "pytest-runner" "" + --replace-fail "pytest-runner" "" ''; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ aiohttp asn1 python-dateutil |