1{
2 buildPythonPackage,
3 fetchFromGitHub,
4 lib,
5 littleutils,
6 requests,
7 setuptools-scm,
8}:
9
10buildPythonPackage rec {
11 pname = "outdated";
12 version = "0.2.2";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "alexmojaki";
17 repo = "outdated";
18 tag = "v${version}";
19 hash = "sha256-5VpPmgIcVtY97F0Hb0m9MuSW0zjaUJ18ATA4GBRw+jc=";
20 };
21
22 build-system = [ setuptools-scm ];
23
24 dependencies = [
25 littleutils
26 requests
27 ];
28
29 # checks rely on internet connection
30 doCheck = false;
31
32 pythonImportsCheck = [ "outdated" ];
33
34 meta = {
35 description = "Mini-library which, given a package name and a version, checks if it's the latest version available on PyPI";
36 homepage = "https://github.com/alexmojaki/outdated";
37 license = lib.licenses.mit;
38 maintainers = with lib.maintainers; [ gador ];
39 };
40}