Merge pull request #303697 from dotlambda/python3Packages.srpenergy
python312Packages.srpenergy: 1.3.6 -> 1.3.7
This commit is contained in:
commit
899abe3e0b
|
@ -2,6 +2,7 @@
|
|||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, setuptools
|
||||
, python-dateutil
|
||||
, requests
|
||||
, pytestCheckHook
|
||||
|
@ -9,19 +10,28 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "srpenergy";
|
||||
version = "1.3.6";
|
||||
format = "setuptools";
|
||||
version = "1.3.7";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lamoreauxlab";
|
||||
repo = "srpenergy-api-client-python";
|
||||
rev = version;
|
||||
hash = "sha256-aZnqGtfklWgigac2gdkQv29Qy5HC34zGGY2iWr2cOMo=";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-bdBF5y9hRj4rceUD5qjHOM9TIaHGElJ36YjWCJgCzX8=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "setuptools==" "setuptools>="
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
python-dateutil
|
||||
requests
|
||||
];
|
||||
|
@ -33,6 +43,7 @@ buildPythonPackage rec {
|
|||
pythonImportsCheck = [ "srpenergy.client" ];
|
||||
|
||||
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";
|
||||
homepage = "https://github.com/lamoreauxlab/srpenergy-api-client-python";
|
||||
license = licenses.mit;
|
||||
|
|
Loading…
Reference in New Issue