python312Packages.outdated: init at 0.2.2
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
littleutils,
|
||||
requests,
|
||||
setuptools-scm,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "outdated";
|
||||
version = "0.2.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "alexmojaki";
|
||||
repo = "outdated";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-5VpPmgIcVtY97F0Hb0m9MuSW0zjaUJ18ATA4GBRw+jc=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools-scm ];
|
||||
|
||||
dependencies = [
|
||||
littleutils
|
||||
requests
|
||||
];
|
||||
|
||||
# checks rely on internet connection
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "outdated" ];
|
||||
|
||||
meta = {
|
||||
description = "Mini-library which, given a package name and a version, checks if it's the latest version available on PyPI";
|
||||
homepage = "https://github.com/alexmojaki/outdated";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ gador ];
|
||||
};
|
||||
}
|
||||
@@ -9629,6 +9629,8 @@ self: super: with self; {
|
||||
|
||||
outcome = callPackage ../development/python-modules/outcome { };
|
||||
|
||||
outdated = callPackage ../development/python-modules/outdated { };
|
||||
|
||||
outspin = callPackage ../development/python-modules/outspin { };
|
||||
|
||||
ovh = callPackage ../development/python-modules/ovh { };
|
||||
|
||||
Reference in New Issue
Block a user