Merge pull request #198516 from fabaff/pylast-bump
python310Packages.pylast: 5.0.0 -> 5.1.0
This commit is contained in:
commit
9e205c3e15
1 changed files with 15 additions and 9 deletions
|
@ -1,28 +1,34 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchFromGitHub
|
||||
, flaky
|
||||
, hatch-vcs
|
||||
, hatchling
|
||||
, httpx
|
||||
, importlib-metadata
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools-scm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pylast";
|
||||
version = "5.0.0";
|
||||
format = "setuptools";
|
||||
version = "5.1.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-UBi2bCtGMtcavYEDtz5m5N0UxmCaj3un5aomxzbfLfg=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "pylast";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-LRZYLo9h7Z8WXemLgKR5qzAmtL4x/AQQJpta3e0WHcc=";
|
||||
};
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
hatch-vcs
|
||||
hatchling
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -44,6 +50,6 @@ buildPythonPackage rec {
|
|||
description = "Python interface to last.fm (and compatibles)";
|
||||
homepage = "https://github.com/pylast/pylast";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ rvolosatovs ];
|
||||
maintainers = with maintainers; [ fab rvolosatovs ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue