python312Packages.srpenergy: 1.3.6 -> 1.3.7
Diff: https://github.com/lamoreauxlab/srpenergy-api-client-python/compare/refs/tags/1.3.6...1.3.7 Changelog: https://github.com/lamoreauxlab/srpenergy-api-client-python/releases/tag/1.3.7
This commit is contained in:
parent
250886da9b
commit
f507171077
|
@ -2,6 +2,7 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, setuptools
|
||||||
, python-dateutil
|
, python-dateutil
|
||||||
, requests
|
, requests
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
@ -9,19 +10,28 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "srpenergy";
|
pname = "srpenergy";
|
||||||
version = "1.3.6";
|
version = "1.3.7";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.9";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "lamoreauxlab";
|
owner = "lamoreauxlab";
|
||||||
repo = "srpenergy-api-client-python";
|
repo = "srpenergy-api-client-python";
|
||||||
rev = version;
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-aZnqGtfklWgigac2gdkQv29Qy5HC34zGGY2iWr2cOMo=";
|
hash = "sha256-bdBF5y9hRj4rceUD5qjHOM9TIaHGElJ36YjWCJgCzX8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
postPatch = ''
|
||||||
|
substituteInPlace pyproject.toml \
|
||||||
|
--replace-fail "setuptools==" "setuptools>="
|
||||||
|
'';
|
||||||
|
|
||||||
|
build-system = [
|
||||||
|
setuptools
|
||||||
|
];
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
python-dateutil
|
python-dateutil
|
||||||
requests
|
requests
|
||||||
];
|
];
|
||||||
|
@ -33,6 +43,7 @@ buildPythonPackage rec {
|
||||||
pythonImportsCheck = [ "srpenergy.client" ];
|
pythonImportsCheck = [ "srpenergy.client" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
changelog = "https://github.com/lamoreauxlab/srpenergy-api-client-python/releases/tag/${version}";
|
||||||
description = "Unofficial Python module for interacting with Srp Energy data";
|
description = "Unofficial Python module for interacting with Srp Energy data";
|
||||||
homepage = "https://github.com/lamoreauxlab/srpenergy-api-client-python";
|
homepage = "https://github.com/lamoreauxlab/srpenergy-api-client-python";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user