mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
Merge pull request #301425 from r-ryantm/auto-update/python312Packages.myuplink
python312Packages.myuplink: 0.5.0 -> 0.6.0
This commit is contained in:
commit
98db77171c
@ -1,23 +1,24 @@
|
|||||||
{ lib
|
{
|
||||||
, aiohttp
|
lib,
|
||||||
, buildPythonPackage
|
aiohttp,
|
||||||
, fetchFromGitHub
|
buildPythonPackage,
|
||||||
, pythonOlder
|
fetchFromGitHub,
|
||||||
, setuptools
|
pythonOlder,
|
||||||
|
setuptools,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "myuplink";
|
pname = "myuplink";
|
||||||
version = "0.5.0";
|
version = "0.6.0";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.9";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "pajzo";
|
owner = "pajzo";
|
||||||
repo = "myuplink";
|
repo = "myuplink";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-UJGRQqgtbYBwfjys2sYiC3dx8Doesu34EBys5Y++qBY=";
|
hash = "sha256-QIFTM4RQR3C67q+sBUCPhUyXylzplNAppHjzvU7i2YU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -25,17 +26,11 @@ buildPythonPackage rec {
|
|||||||
--replace-fail "%%VERSION_NO%%" "${version}"
|
--replace-fail "%%VERSION_NO%%" "${version}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
build-system = [ setuptools ];
|
||||||
setuptools
|
|
||||||
];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
dependencies = [ aiohttp ];
|
||||||
aiohttp
|
|
||||||
];
|
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [ "myuplink" ];
|
||||||
"myuplink"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Module to interact with the myUplink API";
|
description = "Module to interact with the myUplink API";
|
||||||
|
Loading…
Reference in New Issue
Block a user