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