pkgs/by-name/{m,n}*: migrate to pyproject = true

TomaSajt 3c186416 b29dc3a7

+197 -93
+12 -6
pkgs/by-name/ma/macpm/package.nix
··· 8 python3Packages.buildPythonApplication { 9 pname = "macpm"; 10 version = "0.24-unstable-2024-11-19"; 11 - format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "visualcjy"; ··· 17 hash = "sha256-jqaPPvYbuL8q6grmBLyZLf8aDmjugYxMOWAh1Ix82jc="; 18 }; 19 20 # has no tests 21 doCheck = false; 22 ··· 25 ln -rs $out/bin/macpm $out/bin/asitop 26 ''; 27 28 - dependencies = with python3Packages; [ 29 - dashing 30 - humanize 31 - psutil 32 - ]; 33 34 meta = { 35 description = "Perf monitoring CLI tool for Apple Silicon; previously named 'asitop'";
··· 8 python3Packages.buildPythonApplication { 9 pname = "macpm"; 10 version = "0.24-unstable-2024-11-19"; 11 + pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "visualcjy"; ··· 17 hash = "sha256-jqaPPvYbuL8q6grmBLyZLf8aDmjugYxMOWAh1Ix82jc="; 18 }; 19 20 + build-system = with python3Packages; [ 21 + setuptools 22 + ]; 23 + 24 + dependencies = with python3Packages; [ 25 + dashing 26 + humanize 27 + psutil 28 + ]; 29 + 30 # has no tests 31 doCheck = false; 32 ··· 35 ln -rs $out/bin/macpm $out/bin/asitop 36 ''; 37 38 + pythonImportsCheck = [ "macpm" ]; 39 40 meta = { 41 description = "Perf monitoring CLI tool for Apple Silicon; previously named 'asitop'";
+7 -2
pkgs/by-name/ma/mapproxy/package.nix
··· 8 python3Packages.buildPythonApplication rec { 9 pname = "mapproxy"; 10 version = "5.0.0"; 11 - format = "setuptools"; 12 disabled = python3Packages.pythonOlder "3.8"; 13 14 src = fetchFromGitHub { ··· 22 substituteInPlace mapproxy/util/ext/serving.py --replace-warn "args = [sys.executable] + sys.argv" "args = sys.argv" 23 ''; 24 25 dependencies = with python3Packages; [ 26 boto3 # needed for caches service 27 jsonschema ··· 31 shapely 32 gdal 33 lxml 34 - setuptools 35 werkzeug 36 ]; 37 ··· 39 # 1) Dependency list is huge. 40 # https://github.com/mapproxy/mapproxy/blob/master/requirements-tests.txt 41 doCheck = false; 42 43 meta = { 44 description = "Open source proxy for geospatial data";
··· 8 python3Packages.buildPythonApplication rec { 9 pname = "mapproxy"; 10 version = "5.0.0"; 11 + pyproject = true; 12 disabled = python3Packages.pythonOlder "3.8"; 13 14 src = fetchFromGitHub { ··· 22 substituteInPlace mapproxy/util/ext/serving.py --replace-warn "args = [sys.executable] + sys.argv" "args = sys.argv" 23 ''; 24 25 + build-system = with python3Packages; [ setuptools ]; 26 + 27 + pythonRemoveDeps = [ "future" ]; 28 + 29 dependencies = with python3Packages; [ 30 boto3 # needed for caches service 31 jsonschema ··· 35 shapely 36 gdal 37 lxml 38 werkzeug 39 ]; 40 ··· 42 # 1) Dependency list is huge. 43 # https://github.com/mapproxy/mapproxy/blob/master/requirements-tests.txt 44 doCheck = false; 45 + 46 + pythonImportsCheck = [ "mapproxy" ]; 47 48 meta = { 49 description = "Open source proxy for geospatial data";
+8 -2
pkgs/by-name/ma/mastodon-archive/package.nix
··· 7 python3.pkgs.buildPythonApplication rec { 8 pname = "mastodon-archive"; 9 version = "1.4.2"; 10 - format = "setuptools"; 11 12 src = fetchFromGitHub { 13 owner = "kensanata"; ··· 16 hash = "sha256-b4bYQshz7mwxEfpRYV7ze4C8hz58R9cVp58wHvGFb0A="; 17 }; 18 19 - propagatedBuildInputs = with python3.pkgs; [ 20 html2text 21 mastodon-py 22 progress ··· 24 25 # There is no test 26 doCheck = false; 27 28 meta = with lib; { 29 description = "Utility for backing up your Mastodon content";
··· 7 python3.pkgs.buildPythonApplication rec { 8 pname = "mastodon-archive"; 9 version = "1.4.2"; 10 + pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "kensanata"; ··· 16 hash = "sha256-b4bYQshz7mwxEfpRYV7ze4C8hz58R9cVp58wHvGFb0A="; 17 }; 18 19 + build-system = with python3.pkgs; [ 20 + setuptools 21 + ]; 22 + 23 + dependencies = with python3.pkgs; [ 24 html2text 25 mastodon-py 26 progress ··· 28 29 # There is no test 30 doCheck = false; 31 + 32 + pythonImportsCheck = [ "mastodon_archive" ]; 33 34 meta = with lib; { 35 description = "Utility for backing up your Mastodon content";
+5 -1
pkgs/by-name/md/md-tangle/package.nix
··· 7 python3.pkgs.buildPythonPackage rec { 8 pname = "md-tangle"; 9 version = "1.4.4"; 10 - format = "setuptools"; 11 12 # By some strange reason, fetchPypi fails miserably 13 src = fetchFromGitHub { ··· 17 hash = "sha256-PkOKSsyY8uwS4mhl0lB+KGeUvXfEc7PUDHZapHMYv4c="; 18 }; 19 20 # Pure Python application, uses only standard modules and comes without 21 # testing suite 22 doCheck = false; 23 24 meta = with lib; { 25 homepage = "https://github.com/joakimmj/md-tangle/";
··· 7 python3.pkgs.buildPythonPackage rec { 8 pname = "md-tangle"; 9 version = "1.4.4"; 10 + pyproject = true; 11 12 # By some strange reason, fetchPypi fails miserably 13 src = fetchFromGitHub { ··· 17 hash = "sha256-PkOKSsyY8uwS4mhl0lB+KGeUvXfEc7PUDHZapHMYv4c="; 18 }; 19 20 + build-system = with python3.pkgs; [ setuptools ]; 21 + 22 # Pure Python application, uses only standard modules and comes without 23 # testing suite 24 doCheck = false; 25 + 26 + pythonImportsCheck = [ "md_tangle" ]; 27 28 meta = with lib; { 29 homepage = "https://github.com/joakimmj/md-tangle/";
+5 -1
pkgs/by-name/md/mdslides/package.nix
··· 7 python3Packages.buildPythonApplication { 8 pname = "mdslides"; 9 version = "unstable-2022-12-15"; 10 - format = "setuptools"; 11 12 src = fetchFromGitHub { 13 owner = "dadoomer"; ··· 16 sha256 = "sha256-31ALsy1P/vfI+H6Onmg4TXLeKbVAQ1FlnFs4k6ZOgHQ="; 17 }; 18 19 doCheck = false; 20 21 meta = with lib; { 22 longDescription = "Using markdown, write simple but beautiful presentations with math, animations and media, which can be visualized in a web browser or exported to PDF.";
··· 7 python3Packages.buildPythonApplication { 8 pname = "mdslides"; 9 version = "unstable-2022-12-15"; 10 + pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "dadoomer"; ··· 16 sha256 = "sha256-31ALsy1P/vfI+H6Onmg4TXLeKbVAQ1FlnFs4k6ZOgHQ="; 17 }; 18 19 + build-system = with python3Packages; [ setuptools ]; 20 + 21 doCheck = false; 22 + 23 + pythonImportsCheck = [ "mdslides" ]; 24 25 meta = with lib; { 26 longDescription = "Using markdown, write simple but beautiful presentations with math, animations and media, which can be visualized in a web browser or exported to PDF.";
+3 -1
pkgs/by-name/me/me_cleaner/package.nix
··· 7 python3.pkgs.buildPythonPackage rec { 8 pname = "me_cleaner"; 9 version = "1.2"; 10 - format = "setuptools"; 11 12 src = fetchFromGitHub { 13 owner = "corna"; ··· 15 rev = "v${version}"; 16 sha256 = "1bdj2clm13ir441vn7sv860xsc5gh71ja5lc2wn0gggnff0adxj4"; 17 }; 18 19 meta = with lib; { 20 inherit (src.meta) homepage;
··· 7 python3.pkgs.buildPythonPackage rec { 8 pname = "me_cleaner"; 9 version = "1.2"; 10 + pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "corna"; ··· 15 rev = "v${version}"; 16 sha256 = "1bdj2clm13ir441vn7sv860xsc5gh71ja5lc2wn0gggnff0adxj4"; 17 }; 18 + 19 + build-system = with python3.pkgs; [ setuptools ]; 20 21 meta = with lib; { 22 inherit (src.meta) homepage;
+8 -3
pkgs/by-name/ml/mlarchive2maildir/package.nix
··· 7 python3.pkgs.buildPythonApplication rec { 8 pname = "mlarchive2maildir"; 9 version = "0.0.9"; 10 - format = "setuptools"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "02zjwa7zbcbqj76l0qmg7bbf3fqli60pl2apby3j4zwzcrrryczs"; 15 }; 16 17 - nativeBuildInputs = with python3.pkgs; [ setuptools-scm ]; 18 19 - propagatedBuildInputs = with python3.pkgs; [ 20 beautifulsoup4 21 click 22 click-log 23 requests 24 six 25 ]; 26 27 meta = with lib; { 28 homepage = "https://github.com/flokli/mlarchive2maildir";
··· 7 python3.pkgs.buildPythonApplication rec { 8 pname = "mlarchive2maildir"; 9 version = "0.0.9"; 10 + pyproject = true; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "02zjwa7zbcbqj76l0qmg7bbf3fqli60pl2apby3j4zwzcrrryczs"; 15 }; 16 17 + build-system = with python3.pkgs; [ 18 + setuptools 19 + setuptools-scm 20 + ]; 21 22 + dependencies = with python3.pkgs; [ 23 beautifulsoup4 24 click 25 click-log 26 requests 27 six 28 ]; 29 + 30 + pythonImportsCheck = [ "mlarchive2maildir" ]; 31 32 meta = with lib; { 33 homepage = "https://github.com/flokli/mlarchive2maildir";
+5 -6
pkgs/by-name/ml/mloader/package.nix
··· 7 python3Packages.buildPythonApplication rec { 8 pname = "mloader"; 9 version = "1.1.12"; 10 - format = "setuptools"; 11 12 src = fetchPypi { 13 inherit pname version; 14 hash = "sha256-0o4FvhuFudNSEL6fwBVqxldaNePbbidY9utDqXiLRNc="; 15 }; 16 17 - postPatch = '' 18 - substituteInPlace setup.py \ 19 - --replace "protobuf~=3.6" "protobuf" 20 - ''; 21 22 - propagatedBuildInputs = with python3Packages; [ 23 click 24 protobuf 25 requests
··· 7 python3Packages.buildPythonApplication rec { 8 pname = "mloader"; 9 version = "1.1.12"; 10 + pyproject = true; 11 12 src = fetchPypi { 13 inherit pname version; 14 hash = "sha256-0o4FvhuFudNSEL6fwBVqxldaNePbbidY9utDqXiLRNc="; 15 }; 16 17 + build-system = with python3Packages; [ setuptools ]; 18 + 19 + pythonRelaxDeps = [ "protobuf" ]; 20 21 + dependencies = with python3Packages; [ 22 click 23 protobuf 24 requests
+6 -2
pkgs/by-name/mo/mongoaudit/package.nix
··· 7 python3.pkgs.buildPythonApplication rec { 8 pname = "mongoaudit"; 9 version = "0.1.1"; 10 - format = "setuptools"; 11 12 disabled = python3.pythonOlder "3.8"; 13 ··· 18 sha256 = "17k4vw5d3kr961axl49ywid4cf3n7zxvm885c4lv15w7s2al1425"; 19 }; 20 21 - propagatedBuildInputs = with python3.pkgs; [ 22 pymongo 23 setuptools 24 urwid
··· 7 python3.pkgs.buildPythonApplication rec { 8 pname = "mongoaudit"; 9 version = "0.1.1"; 10 + pyproject = true; 11 12 disabled = python3.pythonOlder "3.8"; 13 ··· 18 sha256 = "17k4vw5d3kr961axl49ywid4cf3n7zxvm885c4lv15w7s2al1425"; 19 }; 20 21 + build-system = with python3.pkgs; [ 22 + setuptools 23 + ]; 24 + 25 + dependencies = with python3.pkgs; [ 26 pymongo 27 setuptools 28 urwid
+6 -2
pkgs/by-name/mo/moodle-dl/package.nix
··· 8 python3Packages.buildPythonApplication rec { 9 pname = "moodle-dl"; 10 version = "2.3.13"; 11 - format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "C0D3D3V"; ··· 17 hash = "sha256-6arwc72gu7XyT6HokSEs2TkvE2FG7mIvy4F+/i/0eJg="; 18 }; 19 20 - propagatedBuildInputs = with python3Packages; [ 21 aiodns 22 aiofiles 23 aiohttp ··· 34 35 # upstream has no tests 36 doCheck = false; 37 38 passthru.updateScript = gitUpdater { }; 39
··· 8 python3Packages.buildPythonApplication rec { 9 pname = "moodle-dl"; 10 version = "2.3.13"; 11 + pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "C0D3D3V"; ··· 17 hash = "sha256-6arwc72gu7XyT6HokSEs2TkvE2FG7mIvy4F+/i/0eJg="; 18 }; 19 20 + build-system = with python3Packages; [ setuptools ]; 21 + 22 + dependencies = with python3Packages; [ 23 aiodns 24 aiofiles 25 aiohttp ··· 36 37 # upstream has no tests 38 doCheck = false; 39 + 40 + pythonImportsCheck = [ "moodle_dl" ]; 41 42 passthru.updateScript = gitUpdater { }; 43
+5 -2
pkgs/by-name/mp/mpfshell/package.nix
··· 7 python3Packages.buildPythonPackage { 8 pname = "mpfshell-unstable"; 9 version = "2020-04-11"; 10 - format = "setuptools"; 11 12 src = fetchFromGitHub { 13 owner = "wendlers"; ··· 16 sha256 = "0md6ih9vp65dacqy8gki3b2p4v76xb9ijqmxymk4b4f9z684x2m7"; 17 }; 18 19 - propagatedBuildInputs = with python3Packages; [ 20 pyserial 21 colorama 22 websocket-client 23 ]; 24 25 doCheck = false;
··· 7 python3Packages.buildPythonPackage { 8 pname = "mpfshell-unstable"; 9 version = "2020-04-11"; 10 + pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "wendlers"; ··· 16 sha256 = "0md6ih9vp65dacqy8gki3b2p4v76xb9ijqmxymk4b4f9z684x2m7"; 17 }; 18 19 + build-system = with python3Packages; [ setuptools ]; 20 + 21 + dependencies = with python3Packages; [ 22 pyserial 23 colorama 24 websocket-client 25 + standard-telnetlib # Python no longer provides telnetlib since python313 26 ]; 27 28 doCheck = false;
+6 -2
pkgs/by-name/mu/mutmut/package.nix
··· 7 python3Packages.buildPythonApplication rec { 8 pname = "mutmut"; 9 version = "3.2.0"; 10 - format = "setuptools"; 11 12 src = fetchFromGitHub { 13 repo = "mutmut"; ··· 24 25 doCheck = false; 26 27 - propagatedBuildInputs = with python3Packages; [ 28 click 29 parso 30 junit-xml 31 setproctitle 32 textual 33 ]; 34 35 meta = { 36 description = "mutation testing system for Python, with a strong focus on ease of use";
··· 7 python3Packages.buildPythonApplication rec { 8 pname = "mutmut"; 9 version = "3.2.0"; 10 + pyproject = true; 11 12 src = fetchFromGitHub { 13 repo = "mutmut"; ··· 24 25 doCheck = false; 26 27 + build-system = with python3Packages; [ setuptools ]; 28 + 29 + dependencies = with python3Packages; [ 30 click 31 parso 32 junit-xml 33 setproctitle 34 textual 35 ]; 36 + 37 + pythonImportsCheck = [ "mutmut" ]; 38 39 meta = { 40 description = "mutation testing system for Python, with a strong focus on ease of use";
+7 -4
pkgs/by-name/mu/mutt-ics/package.nix
··· 4 fetchPypi, 5 }: 6 7 - with python3.pkgs; 8 - buildPythonApplication rec { 9 pname = "mutt-ics"; 10 version = "0.9.2"; 11 - format = "setuptools"; 12 13 src = fetchPypi { 14 inherit version; ··· 16 sha256 = "d44d4bec4e71c7f14df01b90fdb9563cdc784ece4250abfea5b0b675cfe85a50"; 17 }; 18 19 - propagatedBuildInputs = [ icalendar ]; 20 21 meta = with lib; { 22 homepage = "https://github.com/dmedvinsky/mutt-ics";
··· 4 fetchPypi, 5 }: 6 7 + python3.pkgs.buildPythonApplication rec { 8 pname = "mutt-ics"; 9 version = "0.9.2"; 10 + pyproject = true; 11 12 src = fetchPypi { 13 inherit version; ··· 15 sha256 = "d44d4bec4e71c7f14df01b90fdb9563cdc784ece4250abfea5b0b675cfe85a50"; 16 }; 17 18 + build-system = with python3.pkgs; [ setuptools ]; 19 + 20 + dependencies = with python3.pkgs; [ icalendar ]; 21 + 22 + pythonImportsCheck = [ "mutt_ics" ]; 23 24 meta = with lib; { 25 homepage = "https://github.com/dmedvinsky/mutt-ics";
+6 -2
pkgs/by-name/my/mymcplus/package.nix
··· 8 python3Packages.buildPythonApplication rec { 9 pname = "mymcplus"; 10 version = "3.0.5"; 11 - format = "setuptools"; 12 13 src = fetchFromSourcehut { 14 owner = "~thestr4ng3r"; ··· 21 wrapGAppsHook3 22 ]; 23 24 - propagatedBuildInputs = with python3Packages; [ 25 pyopengl 26 wxpython 27 ]; 28 29 meta = with lib; { 30 homepage = "https://git.sr.ht/~thestr4ng3r/mymcplus";
··· 8 python3Packages.buildPythonApplication rec { 9 pname = "mymcplus"; 10 version = "3.0.5"; 11 + pyproject = true; 12 13 src = fetchFromSourcehut { 14 owner = "~thestr4ng3r"; ··· 21 wrapGAppsHook3 22 ]; 23 24 + build-system = with python3Packages; [ setuptools ]; 25 + 26 + dependencies = with python3Packages; [ 27 pyopengl 28 wxpython 29 ]; 30 + 31 + pythonImportsCheck = [ "mymcplus" ]; 32 33 meta = with lib; { 34 homepage = "https://git.sr.ht/~thestr4ng3r/mymcplus";
+1 -1
pkgs/by-name/na/nagstamon/package.nix
··· 8 python3Packages.buildPythonApplication rec { 9 pname = "nagstamon"; 10 version = "3.16.2"; 11 - format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "HenriWahl";
··· 8 python3Packages.buildPythonApplication rec { 9 pname = "nagstamon"; 10 version = "3.16.2"; 11 + pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "HenriWahl";
+8 -2
pkgs/by-name/nb/nbstripout/package.nix
··· 10 11 python3.pkgs.buildPythonApplication rec { 12 version = "0.8.1"; 13 - format = "setuptools"; 14 pname = "nbstripout"; 15 16 src = fetchPypi { ··· 25 hash = "sha256-OSJLrWkYQIhcdyofS3Bo39ppsU6K3A4546UKB8Q1GGg="; 26 }; 27 28 - propagatedBuildInputs = with python3.pkgs; [ 29 nbformat 30 ]; 31 ··· 52 chmod -R +w $TMPDIR/e2e_notebooks 53 substituteInPlace tests/test_end_to_end.py --replace "tests/e2e_notebooks" "$TMPDIR/e2e_notebooks" 54 ''; 55 56 meta = { 57 description = "Strip output from Jupyter and IPython notebooks";
··· 10 11 python3.pkgs.buildPythonApplication rec { 12 version = "0.8.1"; 13 + pyproject = true; 14 pname = "nbstripout"; 15 16 src = fetchPypi { ··· 25 hash = "sha256-OSJLrWkYQIhcdyofS3Bo39ppsU6K3A4546UKB8Q1GGg="; 26 }; 27 28 + build-system = with python3.pkgs; [ 29 + setuptools 30 + ]; 31 + 32 + dependencies = with python3.pkgs; [ 33 nbformat 34 ]; 35 ··· 56 chmod -R +w $TMPDIR/e2e_notebooks 57 substituteInPlace tests/test_end_to_end.py --replace "tests/e2e_notebooks" "$TMPDIR/e2e_notebooks" 58 ''; 59 + 60 + pythonImportsCheck = [ "nbstripout" ]; 61 62 meta = { 63 description = "Strip output from Jupyter and IPython notebooks";
+4 -2
pkgs/by-name/nb/nbutools/package.nix
··· 7 python3.pkgs.buildPythonApplication { 8 pname = "nbutools"; 9 version = "unstable-2023-06-06"; 10 - format = "setuptools"; 11 12 src = fetchFromGitHub { 13 owner = "airbus-seclab"; ··· 16 hash = "sha256-YOiFlTIDpeTFOHPU37v0pYf8s3HdaE/4pnd9qrsFtSI="; 17 }; 18 19 - propagatedBuildInputs = with python3.pkgs; [ 20 aiodns 21 aiohttp 22 beautifulsoup4
··· 7 python3.pkgs.buildPythonApplication { 8 pname = "nbutools"; 9 version = "unstable-2023-06-06"; 10 + pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "airbus-seclab"; ··· 16 hash = "sha256-YOiFlTIDpeTFOHPU37v0pYf8s3HdaE/4pnd9qrsFtSI="; 17 }; 18 19 + build-system = with python3.pkgs; [ setuptools ]; 20 + 21 + dependencies = with python3.pkgs; [ 22 aiodns 23 aiohttp 24 beautifulsoup4
+5 -4
pkgs/by-name/ne/nemo-emblems/package.nix
··· 8 python3.pkgs.buildPythonApplication rec { 9 pname = "nemo-emblems"; 10 version = "6.4.0"; 11 12 # nixpkgs-update: no auto update 13 src = fetchFromGitHub { ··· 17 hash = "sha256-39hWA4SNuEeaPA6D5mWMHjJDs4hYK7/ZdPkTyskvm5Y="; 18 }; 19 20 - format = "setuptools"; 21 - 22 sourceRoot = "${src.name}/nemo-emblems"; 23 24 postPatch = '' 25 substituteInPlace setup.py \ 26 - --replace "/usr/share" "share" 27 28 substituteInPlace nemo-extension/nemo-emblems.py \ 29 - --replace "/usr/share/locale" "${cinnamon-translations}/share/locale" 30 ''; 31 32 meta = with lib; { 33 homepage = "https://github.com/linuxmint/nemo-extensions/tree/master/nemo-emblems";
··· 8 python3.pkgs.buildPythonApplication rec { 9 pname = "nemo-emblems"; 10 version = "6.4.0"; 11 + pyproject = true; 12 13 # nixpkgs-update: no auto update 14 src = fetchFromGitHub { ··· 18 hash = "sha256-39hWA4SNuEeaPA6D5mWMHjJDs4hYK7/ZdPkTyskvm5Y="; 19 }; 20 21 sourceRoot = "${src.name}/nemo-emblems"; 22 23 postPatch = '' 24 substituteInPlace setup.py \ 25 + --replace-fail "/usr/share" "share" 26 27 substituteInPlace nemo-extension/nemo-emblems.py \ 28 + --replace-fail "/usr/share/locale" "${cinnamon-translations}/share/locale" 29 ''; 30 + 31 + build-system = with python3.pkgs; [ setuptools ]; 32 33 meta = with lib; { 34 homepage = "https://github.com/linuxmint/nemo-extensions/tree/master/nemo-emblems";
+9 -6
pkgs/by-name/ne/neovim-remote/package.nix
··· 1 { 2 lib, 3 fetchFromGitHub, 4 python3, 5 neovim, 6 fetchpatch, 7 }: 8 9 - with python3.pkgs; 10 - buildPythonApplication rec { 11 pname = "neovim-remote"; 12 version = "2.5.1"; 13 - format = "setuptools"; 14 15 src = fetchFromGitHub { 16 owner = "mhinz"; ··· 27 }) 28 ]; 29 30 - propagatedBuildInputs = [ 31 pynvim 32 psutil 33 - setuptools 34 ]; 35 36 nativeCheckInputs = [ 37 neovim 38 - pytestCheckHook 39 ]; 40 41 doCheck = !stdenv.hostPlatform.isDarwin; ··· 43 preCheck = '' 44 export HOME="$(mktemp -d)" 45 ''; 46 47 meta = with lib; { 48 description = "Tool that helps controlling nvim processes from a terminal";
··· 1 { 2 lib, 3 + stdenv, 4 fetchFromGitHub, 5 python3, 6 neovim, 7 fetchpatch, 8 }: 9 10 + python3.pkgs.buildPythonApplication rec { 11 pname = "neovim-remote"; 12 version = "2.5.1"; 13 + pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "mhinz"; ··· 27 }) 28 ]; 29 30 + build-system = with python3.pkgs; [ setuptools ]; 31 + 32 + dependencies = with python3.pkgs; [ 33 pynvim 34 psutil 35 ]; 36 37 nativeCheckInputs = [ 38 neovim 39 + python3.pkgs.pytestCheckHook 40 ]; 41 42 doCheck = !stdenv.hostPlatform.isDarwin; ··· 44 preCheck = '' 45 export HOME="$(mktemp -d)" 46 ''; 47 + 48 + pythonImportsCheck = [ "nvr" ]; 49 50 meta = with lib; { 51 description = "Tool that helps controlling nvim processes from a terminal";
+6 -2
pkgs/by-name/ni/nix-bisect/package.nix
··· 10 in 11 python3.pkgs.buildPythonApplication { 12 inherit pname version; 13 - format = "setuptools"; 14 15 src = fetchFromGitHub { 16 owner = "timokau"; ··· 19 hash = "sha256-zyeE1jYo/9NEG8fB4gQBAR01siP4tyLvjjHN1yUS4Ug="; 20 }; 21 22 - propagatedBuildInputs = with python3.pkgs; [ 23 appdirs 24 numpy 25 pexpect 26 ]; 27 28 doCheck = false; 29 30 meta = with lib; { 31 description = "Bisect nix builds";
··· 10 in 11 python3.pkgs.buildPythonApplication { 12 inherit pname version; 13 + pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "timokau"; ··· 19 hash = "sha256-zyeE1jYo/9NEG8fB4gQBAR01siP4tyLvjjHN1yUS4Ug="; 20 }; 21 22 + build-system = with python3.pkgs; [ setuptools ]; 23 + 24 + dependencies = with python3.pkgs; [ 25 appdirs 26 numpy 27 pexpect 28 ]; 29 30 doCheck = false; 31 + 32 + pythonImportsCheck = [ "nix_bisect" ]; 33 34 meta = with lib; { 35 description = "Bisect nix builds";
+11 -4
pkgs/by-name/no/norminette/package.nix
··· 7 python3Packages.buildPythonApplication rec { 8 pname = "norminette"; 9 version = "3.3.58"; 10 - format = "setuptools"; 11 12 src = fetchFromGitHub { 13 owner = "42School"; ··· 16 hash = "sha256-6hBBbfW2PQFb8rcDihvtWK0df7WcvOk0il1E82GOxaU="; 17 }; 18 19 nativeCheckInputs = with python3Packages; [ 20 pytestCheckHook 21 ]; 22 23 - preCheck = '' 24 - export PYTHONPATH=norminette:$PYTHONPATH 25 - ''; 26 27 meta = with lib; { 28 description = "Open source norminette to apply 42's norme to C files";
··· 7 python3Packages.buildPythonApplication rec { 8 pname = "norminette"; 9 version = "3.3.58"; 10 + pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "42School"; ··· 16 hash = "sha256-6hBBbfW2PQFb8rcDihvtWK0df7WcvOk0il1E82GOxaU="; 17 }; 18 19 + build-system = with python3Packages; [ 20 + poetry-core 21 + ]; 22 + 23 + pythonRemoveDeps = [ 24 + # Can be removed once https://github.com/42school/norminette/issues/565 is addressed 25 + "argparse" 26 + ]; 27 + 28 nativeCheckInputs = with python3Packages; [ 29 pytestCheckHook 30 ]; 31 32 + pythonImportsCheck = [ "norminette" ]; 33 34 meta = with lib; { 35 description = "Open source norminette to apply 42's norme to C files";
+7 -6
pkgs/by-name/no/nototools/package.nix
··· 8 python3Packages.buildPythonApplication rec { 9 pname = "nototools"; 10 version = "0.2.20"; 11 - format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "googlefonts"; ··· 17 sha256 = "sha256-id4UhyWOFHrtmBZHhnaY2jHDIK0s7rcGBpg4QsBTLKs="; 18 }; 19 20 - postPatch = '' 21 - sed -i 's/use_scm_version=.*,/version="${version}",/' setup.py 22 - ''; 23 - 24 - build-system = with python3Packages; [ setuptools-scm ]; 25 26 pythonRemoveDeps = [ 27 # https://github.com/notofonts/nototools/pull/901 ··· 71 postInstall = '' 72 cp -r third_party $out 73 ''; 74 75 meta = with lib; { 76 description = "Noto fonts support tools and scripts plus web site generation";
··· 8 python3Packages.buildPythonApplication rec { 9 pname = "nototools"; 10 version = "0.2.20"; 11 + pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "googlefonts"; ··· 17 sha256 = "sha256-id4UhyWOFHrtmBZHhnaY2jHDIK0s7rcGBpg4QsBTLKs="; 18 }; 19 20 + build-system = with python3Packages; [ 21 + setuptools 22 + setuptools-scm 23 + ]; 24 25 pythonRemoveDeps = [ 26 # https://github.com/notofonts/nototools/pull/901 ··· 70 postInstall = '' 71 cp -r third_party $out 72 ''; 73 + 74 + pythonImportsCheck = [ "nototools" ]; 75 76 meta = with lib; { 77 description = "Noto fonts support tools and scripts plus web site generation";
+8 -8
pkgs/by-name/no/nox/package.nix
··· 2 lib, 3 python3Packages, 4 fetchurl, 5 - git, 6 }: 7 8 python3Packages.buildPythonApplication rec { 9 pname = "nox"; 10 version = "0.0.6"; 11 - format = "setuptools"; 12 - namePrefix = ""; 13 14 src = fetchurl { 15 url = "mirror://pypi/n/nix-nox/nix-nox-${version}.tar.gz"; ··· 18 19 patches = [ ./nox-review-wip.patch ]; 20 21 - buildInputs = [ 22 - python3Packages.pbr 23 - git 24 ]; 25 26 - propagatedBuildInputs = with python3Packages; [ 27 dogpile-cache 28 click 29 requests 30 characteristic 31 - setuptools 32 ]; 33 34 meta = { 35 homepage = "https://github.com/madjar/nox";
··· 2 lib, 3 python3Packages, 4 fetchurl, 5 }: 6 7 python3Packages.buildPythonApplication rec { 8 pname = "nox"; 9 version = "0.0.6"; 10 + pyproject = true; 11 12 src = fetchurl { 13 url = "mirror://pypi/n/nix-nox/nix-nox-${version}.tar.gz"; ··· 16 17 patches = [ ./nox-review-wip.patch ]; 18 19 + build-system = with python3Packages; [ 20 + setuptools 21 + pbr 22 ]; 23 24 + dependencies = with python3Packages; [ 25 dogpile-cache 26 click 27 requests 28 characteristic 29 + setuptools # pkg_resources is imported during runtime 30 ]; 31 + 32 + pythonImportsCheck = [ "nox" ]; 33 34 meta = { 35 homepage = "https://github.com/madjar/nox";
+7 -3
pkgs/by-name/np/npm-lockfile-fix/package.nix
··· 8 python3.pkgs.buildPythonApplication rec { 9 pname = "npm-lockfile-fix"; 10 version = "0.1.1"; 11 - format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "jeslie0"; ··· 17 hash = "sha256-P93OowrVkkOfX5XKsRsg0c4dZLVn2ZOonJazPmHdD7g="; 18 }; 19 20 - propagatedBuildInputs = [ 21 - python3.pkgs.requests 22 ]; 23 24 doCheck = false; # no tests
··· 8 python3.pkgs.buildPythonApplication rec { 9 pname = "npm-lockfile-fix"; 10 version = "0.1.1"; 11 + pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "jeslie0"; ··· 17 hash = "sha256-P93OowrVkkOfX5XKsRsg0c4dZLVn2ZOonJazPmHdD7g="; 18 }; 19 20 + build-system = with python3.pkgs; [ 21 + setuptools 22 + ]; 23 + 24 + dependencies = with python3.pkgs; [ 25 + requests 26 ]; 27 28 doCheck = false; # no tests
+6 -2
pkgs/by-name/nt/ntfy/package.nix
··· 27 pname = "ntfy"; 28 version = "2.7.0"; 29 30 - format = "setuptools"; 31 32 src = fetchFromGitHub { 33 owner = "dschep"; ··· 73 postPatch = '' 74 # We disable the Darwin specific things because it relies on pyobjc, which we don't have. 75 substituteInPlace setup.py \ 76 - --replace "':sys_platform == \"darwin\"'" "'darwin'" 77 ''; 78 79 dependencies = 80 with python.pkgs; 81 ( ··· 122 preCheck = '' 123 export HOME=$(mktemp -d) 124 ''; 125 126 meta = with lib; { 127 description = "Utility for sending notifications, on demand and when commands finish";
··· 27 pname = "ntfy"; 28 version = "2.7.0"; 29 30 + pyproject = true; 31 32 src = fetchFromGitHub { 33 owner = "dschep"; ··· 73 postPatch = '' 74 # We disable the Darwin specific things because it relies on pyobjc, which we don't have. 75 substituteInPlace setup.py \ 76 + --replace-fail "':sys_platform == \"darwin\"'" "'darwin'" 77 ''; 78 79 + build-system = with python.pkgs; [ setuptools ]; 80 + 81 dependencies = 82 with python.pkgs; 83 ( ··· 124 preCheck = '' 125 export HOME=$(mktemp -d) 126 ''; 127 + 128 + pythonImportsCheck = [ "ntfy" ]; 129 130 meta = with lib; { 131 description = "Utility for sending notifications, on demand and when commands finish";
+6 -3
pkgs/by-name/nt/ntfy/webpush.nix
··· 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pywebpush, 6 py-vapid, 7 }: ··· 9 buildPythonPackage rec { 10 pname = "ntfy-webpush"; 11 version = "0.1.3"; 12 - format = "setuptools"; 13 14 src = fetchFromGitHub { 15 owner = "dschep"; ··· 21 postPatch = '' 22 # break dependency loop 23 substituteInPlace setup.py \ 24 - --replace "'ntfy', " "" 25 ''; 26 27 - propagatedBuildInputs = [ 28 pywebpush 29 py-vapid 30 ];
··· 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 + setuptools, 6 pywebpush, 7 py-vapid, 8 }: ··· 10 buildPythonPackage rec { 11 pname = "ntfy-webpush"; 12 version = "0.1.3"; 13 + pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "dschep"; ··· 22 postPatch = '' 23 # break dependency loop 24 substituteInPlace setup.py \ 25 + --replace-fail "'ntfy', " "" 26 ''; 27 28 + build-system = [ setuptools ]; 29 + 30 + dependencies = [ 31 pywebpush 32 py-vapid 33 ];
+4 -2
pkgs/by-name/nt/ntlmrecon/package.nix
··· 7 python3.pkgs.buildPythonApplication rec { 8 pname = "ntlmrecon"; 9 version = "0.4"; 10 - format = "setuptools"; 11 12 src = fetchFromGitHub { 13 owner = "pwnfoo"; ··· 16 sha256 = "0rrx49li2l9xlcax84qxjf60nbzp3fgq77c36yqmsp0pc9i89ah6"; 17 }; 18 19 - propagatedBuildInputs = with python3.pkgs; [ 20 colorama 21 iptools 22 requests
··· 7 python3.pkgs.buildPythonApplication rec { 8 pname = "ntlmrecon"; 9 version = "0.4"; 10 + pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "pwnfoo"; ··· 16 sha256 = "0rrx49li2l9xlcax84qxjf60nbzp3fgq77c36yqmsp0pc9i89ah6"; 17 }; 18 19 + build-system = with python3.pkgs; [ setuptools ]; 20 + 21 + dependencies = with python3.pkgs; [ 22 colorama 23 iptools 24 requests
+5 -1
pkgs/by-name/nv/nvitop/package.nix
··· 8 python3Packages.buildPythonApplication rec { 9 pname = "nvitop"; 10 version = "1.5.1"; 11 - format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "XuehaiPan"; ··· 16 tag = "v${version}"; 17 hash = "sha256-FQbY9j6eJtupBiYTSCEJHAAlpDltb6U5hgWet42AKho="; 18 }; 19 20 pythonRelaxDeps = [ "nvidia-ml-py" ]; 21 ··· 29 versionCheckHook 30 ]; 31 versionCheckProgramArg = "--version"; 32 33 meta = { 34 description = "Interactive NVIDIA-GPU process viewer, the one-stop solution for GPU process management";
··· 8 python3Packages.buildPythonApplication rec { 9 pname = "nvitop"; 10 version = "1.5.1"; 11 + pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "XuehaiPan"; ··· 16 tag = "v${version}"; 17 hash = "sha256-FQbY9j6eJtupBiYTSCEJHAAlpDltb6U5hgWet42AKho="; 18 }; 19 + 20 + build-system = with python3Packages; [ setuptools ]; 21 22 pythonRelaxDeps = [ "nvidia-ml-py" ]; 23 ··· 31 versionCheckHook 32 ]; 33 versionCheckProgramArg = "--version"; 34 + 35 + pythonImportsCheck = [ "nvitop" ]; 36 37 meta = { 38 description = "Interactive NVIDIA-GPU process viewer, the one-stop solution for GPU process management";
+7 -3
pkgs/by-name/nv/nvpy/package.nix
··· 8 pythonPackages = python3Packages; 9 in 10 pythonPackages.buildPythonApplication rec { 11 - version = "2.3.1"; 12 - format = "setuptools"; 13 pname = "nvpy"; 14 15 src = fetchFromGitHub { 16 owner = "cpbotha"; ··· 19 sha256 = "sha256-guNdLu/bCk89o5M3gQU7J0W4h7eZdLHM0FG5IAPLE7c="; 20 }; 21 22 - propagatedBuildInputs = with pythonPackages; [ 23 markdown 24 docutils 25 simplenote ··· 36 install -dm755 "$out/share/doc/nvpy/" 37 install -m644 README.rst "$out/share/doc/nvpy/README" 38 ''; 39 40 meta = with pkgs.lib; { 41 description = "Simplenote-syncing note-taking tool inspired by Notational Velocity";
··· 8 pythonPackages = python3Packages; 9 in 10 pythonPackages.buildPythonApplication rec { 11 pname = "nvpy"; 12 + version = "2.3.1"; 13 + pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "cpbotha"; ··· 19 sha256 = "sha256-guNdLu/bCk89o5M3gQU7J0W4h7eZdLHM0FG5IAPLE7c="; 20 }; 21 22 + build-system = with pythonPackages; [ setuptools ]; 23 + 24 + dependencies = with pythonPackages; [ 25 markdown 26 docutils 27 simplenote ··· 38 install -dm755 "$out/share/doc/nvpy/" 39 install -m644 README.rst "$out/share/doc/nvpy/README" 40 ''; 41 + 42 + pythonImportsCheck = [ "nvpy" ]; 43 44 meta = with pkgs.lib; { 45 description = "Simplenote-syncing note-taking tool inspired by Notational Velocity";
+3 -1
pkgs/by-name/nw/nwg-clipman/package.nix
··· 14 python3Packages.buildPythonPackage rec { 15 pname = "nwg-clipman"; 16 version = "0.2.6"; 17 - format = "setuptools"; 18 19 src = fetchFromGitHub { 20 owner = "nwg-piotr"; ··· 54 ''; 55 56 strictDeps = true; 57 58 passthru.updateScript = nix-update-script { }; 59
··· 14 python3Packages.buildPythonPackage rec { 15 pname = "nwg-clipman"; 16 version = "0.2.6"; 17 + pyproject = true; 18 19 src = fetchFromGitHub { 20 owner = "nwg-piotr"; ··· 54 ''; 55 56 strictDeps = true; 57 + 58 + pythonImportsCheck = [ "nwg_clipman" ]; 59 60 passthru.updateScript = nix-update-script { }; 61
+4 -2
pkgs/by-name/nw/nwg-wrapper/package.nix
··· 12 python3Packages.buildPythonPackage rec { 13 pname = "nwg-wrapper"; 14 version = "0.1.3"; 15 - format = "setuptools"; 16 17 src = fetchFromGitHub { 18 owner = "nwg-piotr"; ··· 31 gtk-layer-shell 32 ]; 33 34 - propagatedBuildInputs = with python3Packages; [ 35 i3ipc 36 pygobject3 37 ];
··· 12 python3Packages.buildPythonPackage rec { 13 pname = "nwg-wrapper"; 14 version = "0.1.3"; 15 + pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "nwg-piotr"; ··· 31 gtk-layer-shell 32 ]; 33 34 + build-system = with python3Packages; [ setuptools ]; 35 + 36 + dependencies = with python3Packages; [ 37 i3ipc 38 pygobject3 39 ];
+7 -5
pkgs/by-name/ny/nyx/package.nix
··· 4 fetchPypi, 5 }: 6 7 - with python3Packages; 8 - 9 - buildPythonApplication rec { 10 pname = "nyx"; 11 version = "2.1.0"; 12 - format = "setuptools"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "02rrlllz2ci6i6cs3iddyfns7ang9a54jrlygd2jw1f9s6418ll8"; 17 }; 18 19 - propagatedBuildInputs = [ stem ]; 20 21 # ./run_tests.py returns `TypeError: testFailure() takes exactly 1 argument` 22 doCheck = false; 23 24 meta = with lib; { 25 description = "Command-line monitor for Tor";
··· 4 fetchPypi, 5 }: 6 7 + python3Packages.buildPythonApplication rec { 8 pname = "nyx"; 9 version = "2.1.0"; 10 + pyproject = true; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "02rrlllz2ci6i6cs3iddyfns7ang9a54jrlygd2jw1f9s6418ll8"; 15 }; 16 17 + build-system = with python3Packages; [ setuptools ]; 18 + 19 + dependencies = with python3Packages; [ stem ]; 20 21 # ./run_tests.py returns `TypeError: testFailure() takes exactly 1 argument` 22 doCheck = false; 23 + 24 + pythonImportsCheck = [ "nyx" ]; 25 26 meta = with lib; { 27 description = "Command-line monitor for Tor";