Merge master into staging-next

This commit is contained in:
nixpkgs-ci[bot] 2025-07-12 18:05:06 +00:00 committed by GitHub
commit 8287b2917e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
152 changed files with 1448 additions and 1109 deletions

View File

@ -9,10 +9,6 @@ on:
pull_request_target: pull_request_target:
types: [closed, labeled] types: [closed, labeled]
concurrency:
group: backport-${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true
permissions: permissions:
contents: read contents: read
issues: write issues: write

View File

@ -235,7 +235,7 @@ module.exports = async function ({ github, context, core, dry }) {
const itemLabels = {} const itemLabels = {}
if (item.pull_request) { if (item.pull_request || context.payload.pull_request) {
stats.prs++ stats.prs++
Object.assign(itemLabels, await handlePullRequest(item)) Object.assign(itemLabels, await handlePullRequest(item))
} else { } else {

View File

@ -782,7 +782,7 @@ in
) "k3s: Images are only imported on nodes with an enabled agent, they will be ignored by this node") ) "k3s: Images are only imported on nodes with an enabled agent, they will be ignored by this node")
++ (lib.optional ( ++ (lib.optional (
cfg.role == "agent" && cfg.configPath == null && cfg.serverAddr == "" cfg.role == "agent" && cfg.configPath == null && cfg.serverAddr == ""
) "k3s: ServerAddr or configPath (with 'server' key) should be set if role is 'agent'") ) "k3s: serverAddr or configPath (with 'server' key) should be set if role is 'agent'")
++ (lib.optional ++ (lib.optional
(cfg.role == "agent" && cfg.configPath == null && cfg.tokenFile == null && cfg.token == "") (cfg.role == "agent" && cfg.configPath == null && cfg.tokenFile == null && cfg.token == "")
"k3s: Token or tokenFile or configPath (with 'token' or 'token-file' keys) should be set if role is 'agent'" "k3s: Token or tokenFile or configPath (with 'token' or 'token-file' keys) should be set if role is 'agent'"

View File

@ -41,6 +41,11 @@ in
''; '';
}; };
ttl = mkOption {
type = types.int;
description = "The TTL for the generated record";
};
environmentFile = mkOption { environmentFile = mkOption {
type = types.str; type = types.str;
description = '' description = ''
@ -68,7 +73,8 @@ in
serviceConfig = { serviceConfig = {
ExecStart = ExecStart =
"${pkg}/bin/r53-ddns -zone-id ${cfg.zoneID} -domain ${cfg.domain}" "${pkg}/bin/r53-ddns -zone-id ${cfg.zoneID} -domain ${cfg.domain}"
+ lib.optionalString (cfg.hostname != null) " -hostname ${cfg.hostname}"; + lib.optionalString (cfg.hostname != null) " -hostname ${cfg.hostname}"
+ lib.optionalString (cfg.ttl != null) " -ttl ${toString cfg.ttl}";
EnvironmentFile = "${cfg.environmentFile}"; EnvironmentFile = "${cfg.environmentFile}";
DynamicUser = true; DynamicUser = true;
}; };

View File

@ -355,6 +355,7 @@ in
jobClasses = lib.mkOption { jobClasses = lib.mkOption {
type = listOf (enum [ type = listOf (enum [
"default" "default"
"fasp"
"push" "push"
"pull" "pull"
"mailers" "mailers"

View File

@ -1,24 +1,32 @@
{ {
lib, lib,
python3Packages, pythonPackages,
fetchPypi, fetchPypi,
mopidy, mopidy,
}: }:
python3Packages.buildPythonApplication rec { pythonPackages.buildPythonApplication rec {
pname = "Mopidy-Bandcamp"; pname = "mopidy-bandcamp";
version = "1.1.5"; version = "1.1.5";
format = "setuptools"; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit version;
pname = "Mopidy-Bandcamp";
hash = "sha256-wg9zcOKfZQRhpyA1Cu5wvdwKpmrlcr2m9mrqBHgUXAQ="; hash = "sha256-wg9zcOKfZQRhpyA1Cu5wvdwKpmrlcr2m9mrqBHgUXAQ=";
}; };
propagatedBuildInputs = with python3Packages; [ build-system = [
mopidy pythonPackages.setuptools
pykka
]; ];
dependencies = [
mopidy
pythonPackages.pykka
];
pythonImportsCheck = [ "mopidy_bandcamp" ];
meta = with lib; { meta = with lib; {
description = "Mopidy extension for playing music from bandcamp"; description = "Mopidy extension for playing music from bandcamp";
homepage = "https://github.com/impliedchaos/mopidy-bandcamp"; homepage = "https://github.com/impliedchaos/mopidy-bandcamp";

View File

@ -1,33 +1,37 @@
{ {
lib, lib,
python3Packages, pythonPackages,
fetchPypi, fetchPypi,
mopidy, mopidy,
}: }:
python3Packages.buildPythonApplication rec { pythonPackages.buildPythonApplication rec {
pname = "Mopidy-Iris"; pname = "mopidy-iris";
version = "3.69.3"; version = "3.69.3";
format = "setuptools"; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit version;
pname = "Mopidy-Iris";
hash = "sha256-PEAXnapiyxozijR053I7zQYRYLeDOV719L0QbO2r4r4="; hash = "sha256-PEAXnapiyxozijR053I7zQYRYLeDOV719L0QbO2r4r4=";
}; };
propagatedBuildInputs = build-system = [
[ pythonPackages.setuptools
mopidy ];
]
++ (with python3Packages; [ dependencies = [
configobj mopidy
requests pythonPackages.configobj
tornado pythonPackages.requests
]); pythonPackages.tornado
];
# no tests implemented # no tests implemented
doCheck = false; doCheck = false;
pythonImportsCheck = [ "mopidy_iris" ];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/jaedb/Iris"; homepage = "https://github.com/jaedb/Iris";
description = "Fully-functional Mopidy web client encompassing Spotify and many other backends"; description = "Fully-functional Mopidy web client encompassing Spotify and many other backends";

View File

@ -1,14 +1,14 @@
{ {
lib, lib,
python3Packages, pythonPackages,
fetchPypi, fetchPypi,
mopidy, mopidy,
}: }:
python3Packages.buildPythonApplication rec { pythonPackages.buildPythonApplication rec {
pname = "mopidy-jellyfin"; pname = "mopidy-jellyfin";
version = "1.0.6"; version = "1.0.6";
format = "setuptools"; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit version; inherit version;
@ -16,10 +16,12 @@ python3Packages.buildPythonApplication rec {
hash = "sha256-IKCPypMuluR0+mMALp8lB1oB1pSw4rN4rOl/eKn+Qvo="; hash = "sha256-IKCPypMuluR0+mMALp8lB1oB1pSw4rN4rOl/eKn+Qvo=";
}; };
propagatedBuildInputs = [ build-system = [ pythonPackages.setuptools ];
dependencies = [
mopidy mopidy
python3Packages.unidecode pythonPackages.unidecode
python3Packages.websocket-client pythonPackages.websocket-client
]; ];
# no tests implemented # no tests implemented

View File

@ -1,14 +1,14 @@
{ {
lib, lib,
mopidy, mopidy,
python3Packages, pythonPackages,
fetchPypi, fetchPypi,
}: }:
python3Packages.buildPythonApplication rec { pythonPackages.buildPythonApplication rec {
pname = "Mopidy-Local"; pname = "mopidy-local";
version = "3.3.0"; version = "3.3.0";
format = "setuptools"; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit version; inherit version;
@ -16,15 +16,21 @@ python3Packages.buildPythonApplication rec {
hash = "sha256-y6btbGk5UiVan178x7d9jq5OTnKMbuliHv0aRxuZK3o="; hash = "sha256-y6btbGk5UiVan178x7d9jq5OTnKMbuliHv0aRxuZK3o=";
}; };
propagatedBuildInputs = [ build-system = [
pythonPackages.setuptools
];
dependencies = [
mopidy mopidy
python3Packages.uritools pythonPackages.uritools
]; ];
nativeCheckInputs = [ nativeCheckInputs = [
python3Packages.pytestCheckHook pythonPackages.pytestCheckHook
]; ];
pythonImportsCheck = [ "mopidy_local" ];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/mopidy/mopidy-local"; homepage = "https://github.com/mopidy/mopidy-local";
description = "Mopidy extension for playing music from your local music archive"; description = "Mopidy extension for playing music from your local music archive";

View File

@ -7,22 +7,28 @@
}: }:
pythonPackages.buildPythonApplication rec { pythonPackages.buildPythonApplication rec {
pname = "Mopidy-Moped"; pname = "mopidy-moped";
version = "0.7.1"; version = "0.7.1";
format = "setuptools"; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit version;
pname = "Mopidy-Moped";
sha256 = "15461174037d87af93dd59a236d4275c5abf71cea0670ffff24a7d0399a8a2e4"; sha256 = "15461174037d87af93dd59a236d4275c5abf71cea0670ffff24a7d0399a8a2e4";
}; };
LC_ALL = "en_US.UTF-8"; LC_ALL = "en_US.UTF-8";
buildInputs = [ glibcLocales ]; buildInputs = [ glibcLocales ];
propagatedBuildInputs = [ mopidy ];
build-system = [ pythonPackages.setuptools ];
dependencies = [ mopidy ];
# no tests implemented # no tests implemented
doCheck = false; doCheck = false;
pythonImportsCheck = [ "mopidy_moped" ];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/martijnboland/moped"; homepage = "https://github.com/martijnboland/moped";
description = "Web client for Mopidy"; description = "Web client for Mopidy";

View File

@ -14,13 +14,13 @@
pythonPackages.buildPythonApplication rec { pythonPackages.buildPythonApplication rec {
pname = "mopidy"; pname = "mopidy";
version = "3.4.2"; version = "3.4.2";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mopidy"; owner = "mopidy";
repo = "mopidy"; repo = "mopidy";
rev = "refs/tags/v${version}"; tag = "v${version}";
sha256 = "sha256-2OFav2HaQq/RphmZxLyL1n3suwzt1Y/d4h33EdbStjk="; hash = "sha256-2OFav2HaQq/RphmZxLyL1n3suwzt1Y/d4h33EdbStjk=";
}; };
nativeBuildInputs = [ wrapGAppsNoGuiHook ]; nativeBuildInputs = [ wrapGAppsNoGuiHook ];
@ -50,25 +50,26 @@ pythonPackages.buildPythonApplication rec {
} }
)) ))
] ]
++ lib.optional (!stdenv.hostPlatform.isDarwin) pipewire; ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ pipewire ];
propagatedBuildInputs =
[ gobject-introspection ]
++ (
with pythonPackages;
[
gst-python
pygobject3
pykka
requests
setuptools
tornado
]
++ lib.optional (!stdenv.hostPlatform.isDarwin) dbus-python
);
propagatedNativeBuildInputs = [ gobject-introspection ]; propagatedNativeBuildInputs = [ gobject-introspection ];
propagatedBuildInputs = [ gobject-introspection ];
build-system = [ pythonPackages.setuptools ];
dependencies =
with pythonPackages;
[
gst-python
pygobject3
pykka
requests
setuptools
tornado
]
++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ dbus-python ];
# There are no tests # There are no tests
doCheck = false; doCheck = false;

View File

@ -6,23 +6,30 @@
}: }:
pythonPackages.buildPythonApplication rec { pythonPackages.buildPythonApplication rec {
pname = "Mopidy-Mopify"; pname = "mopidy-mopify";
version = "1.7.3"; version = "1.7.3";
format = "setuptools"; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit version;
pname = "Mopidy-Mopify";
hash = "sha256-RlCC+39zC+LeA/QDWPHYx5TrEwOgVrnvcH1Xg12qSLE="; hash = "sha256-RlCC+39zC+LeA/QDWPHYx5TrEwOgVrnvcH1Xg12qSLE=";
}; };
propagatedBuildInputs = with pythonPackages; [ build-system = [
pythonPackages.setuptools
];
dependencies = [
mopidy mopidy
configobj pythonPackages.configobj
]; ];
# no tests implemented # no tests implemented
doCheck = false; doCheck = false;
pythonImportsCheck = [ "mopidy_mopify" ];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/dirkgroenen/mopidy-mopify"; homepage = "https://github.com/dirkgroenen/mopidy-mopify";
description = "Mopidy webclient based on the Spotify webbased interface"; description = "Mopidy webclient based on the Spotify webbased interface";

View File

@ -1,21 +1,24 @@
{ {
lib, lib,
python3Packages, pythonPackages,
fetchPypi, fetchPypi,
mopidy, mopidy,
}: }:
python3Packages.buildPythonApplication rec { pythonPackages.buildPythonApplication rec {
pname = "Mopidy-MPD"; pname = "mopidy-mpd";
version = "3.3.0"; version = "3.3.0";
format = "setuptools"; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit version;
pname = "Mopidy-MPD";
hash = "sha256-CeLMRqj9cwBvQrOx7XHVV8MjDjwOosONVlsN2o+vTVM="; hash = "sha256-CeLMRqj9cwBvQrOx7XHVV8MjDjwOosONVlsN2o+vTVM=";
}; };
propagatedBuildInputs = [ mopidy ]; build-system = [ pythonPackages.setuptools ];
dependencies = [ mopidy ];
# no tests implemented # no tests implemented
doCheck = false; doCheck = false;

View File

@ -1,14 +1,14 @@
{ {
lib, lib,
python3Packages, pythonPackages,
fetchPypi, fetchPypi,
mopidy, mopidy,
}: }:
python3Packages.buildPythonApplication rec { pythonPackages.buildPythonApplication rec {
pname = "mopidy-mpris"; pname = "mopidy-mpris";
version = "3.0.3"; version = "3.0.3";
format = "setuptools"; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit version; inherit version;
@ -16,13 +16,19 @@ python3Packages.buildPythonApplication rec {
hash = "sha256-rHQgNIyludTEL7RDC8dIpyGTMOt1Tazn6i/orKlSP4U="; hash = "sha256-rHQgNIyludTEL7RDC8dIpyGTMOt1Tazn6i/orKlSP4U=";
}; };
propagatedBuildInputs = [ build-system = [
pythonPackages.setuptools
];
dependencies = [
mopidy mopidy
python3Packages.pydbus pythonPackages.pydbus
]; ];
doCheck = false; doCheck = false;
pythonImportsCheck = [ "mopidy_mpris" ];
meta = with lib; { meta = with lib; {
homepage = "https://www.mopidy.com/"; homepage = "https://www.mopidy.com/";
description = "Mopidy extension for controlling Mopidy through D-Bus using the MPRIS specification"; description = "Mopidy extension for controlling Mopidy through D-Bus using the MPRIS specification";

View File

@ -8,7 +8,7 @@
pythonPackages.buildPythonApplication rec { pythonPackages.buildPythonApplication rec {
pname = "mopidy-muse"; pname = "mopidy-muse";
version = "0.0.33"; version = "0.0.33";
format = "setuptools"; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit version; inherit version;
@ -16,7 +16,11 @@ pythonPackages.buildPythonApplication rec {
hash = "sha256-CEPAPWtMrD+HljyqBB6EAyGVeOjzkvVoEywlE4XEJGs="; hash = "sha256-CEPAPWtMrD+HljyqBB6EAyGVeOjzkvVoEywlE4XEJGs=";
}; };
propagatedBuildInputs = [ build-system = [
pythonPackages.setuptools
];
dependencies = [
mopidy mopidy
pythonPackages.pykka pythonPackages.pykka
]; ];

View File

@ -8,16 +8,20 @@
pythonPackages.buildPythonApplication rec { pythonPackages.buildPythonApplication rec {
pname = "mopidy-musicbox-webclient"; pname = "mopidy-musicbox-webclient";
version = "3.1.0"; version = "3.1.0";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pimusicbox"; owner = "pimusicbox";
repo = pname; repo = "mopidy-musicbox-webclient";
rev = "v${version}"; tag = "v${version}";
sha256 = "1lzarazq67gciyn6r8cdms0f7j0ayyfwhpf28z93ydb280mfrrb9"; sha256 = "1lzarazq67gciyn6r8cdms0f7j0ayyfwhpf28z93ydb280mfrrb9";
}; };
propagatedBuildInputs = [ build-system = [
pythonPackages.setuptools
];
dependencies = [
mopidy mopidy
]; ];

View File

@ -6,16 +6,23 @@
}: }:
pythonPackages.buildPythonApplication rec { pythonPackages.buildPythonApplication rec {
pname = "Mopidy-Notify"; pname = "mopidy-notify";
version = "0.2.1"; version = "0.2.1";
format = "setuptools"; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit version;
pname = "Mopidy-Notify";
hash = "sha256-8FT4O4k0wEsdHA1vJaOW9UamJ3QLyO47HwL5XcSU3Pc="; hash = "sha256-8FT4O4k0wEsdHA1vJaOW9UamJ3QLyO47HwL5XcSU3Pc=";
}; };
propagatedBuildInputs = [ build-system = [
pythonPackages.setuptools
];
pythonRelaxDeps = [ "pykka" ];
dependencies = [
mopidy mopidy
pythonPackages.pydbus pythonPackages.pydbus
]; ];

View File

@ -1,14 +1,14 @@
{ {
lib, lib,
python3Packages, pythonPackages,
fetchPypi, fetchPypi,
mopidy, mopidy,
}: }:
python3Packages.buildPythonApplication rec { pythonPackages.buildPythonApplication rec {
pname = "mopidy-podcast"; pname = "mopidy-podcast";
version = "3.0.1"; version = "3.0.1";
format = "setuptools"; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit version; inherit version;
@ -16,16 +16,22 @@ python3Packages.buildPythonApplication rec {
hash = "sha256-grNPVEVM2PlpYhBXe6sabFjWVB9+q+apIRjcHUxH52A="; hash = "sha256-grNPVEVM2PlpYhBXe6sabFjWVB9+q+apIRjcHUxH52A=";
}; };
propagatedBuildInputs = [ build-system = [
mopidy pythonPackages.setuptools
python3Packages.cachetools
python3Packages.uritools
]; ];
nativeCheckInputs = with python3Packages; [ dependencies = [
pytestCheckHook mopidy
pythonPackages.cachetools
pythonPackages.uritools
]; ];
nativeCheckInputs = [
pythonPackages.pytestCheckHook
];
pythonImportsCheck = [ "mopidy_podcast" ];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/tkem/mopidy-podcast"; homepage = "https://github.com/tkem/mopidy-podcast";
description = "Mopidy extension for browsing and playing podcasts"; description = "Mopidy extension for browsing and playing podcasts";

View File

@ -1,23 +1,28 @@
{ {
lib, lib,
python3Packages, pythonPackages,
fetchPypi, fetchPypi,
mopidy, mopidy,
}: }:
python3Packages.buildPythonApplication rec { pythonPackages.buildPythonApplication rec {
pname = "Mopidy-Scrobbler"; pname = "mopidy-scrobbler";
version = "2.0.1"; version = "2.0.1";
format = "setuptools"; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit version;
pname = "Mopidy-Scrobbler";
sha256 = "11vxgax4xgkggnq4fr1rh2rcvzspkkimck5p3h4phdj3qpnj0680"; sha256 = "11vxgax4xgkggnq4fr1rh2rcvzspkkimck5p3h4phdj3qpnj0680";
}; };
propagatedBuildInputs = with python3Packages; [ build-system = [
pythonPackages.setuptools
];
dependencies = [
mopidy mopidy
pylast pythonPackages.pylast
]; ];
# no tests implemented # no tests implemented

View File

@ -1,14 +1,14 @@
{ {
lib, lib,
python3Packages, pythonPackages,
fetchPypi, fetchPypi,
mopidy, mopidy,
}: }:
python3Packages.buildPythonApplication rec { pythonPackages.buildPythonApplication rec {
pname = "mopidy-somafm"; pname = "mopidy-somafm";
version = "2.0.2"; version = "2.0.2";
format = "setuptools"; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit version; inherit version;
@ -16,10 +16,18 @@ python3Packages.buildPythonApplication rec {
sha256 = "DC0emxkoWfjGHih2C8nINBFByf521Xf+3Ks4JRxNPLM="; sha256 = "DC0emxkoWfjGHih2C8nINBFByf521Xf+3Ks4JRxNPLM=";
}; };
propagatedBuildInputs = [ mopidy ]; build-system = [
pythonPackages.setuptools
];
dependencies = [
mopidy
];
doCheck = false; doCheck = false;
pythonImportsCheck = [ "mopidy_somafm" ];
meta = with lib; { meta = with lib; {
homepage = "https://www.mopidy.com/"; homepage = "https://www.mopidy.com/";
description = "Mopidy extension for playing music from SomaFM"; description = "Mopidy extension for playing music from SomaFM";

View File

@ -8,22 +8,28 @@
pythonPackages.buildPythonApplication rec { pythonPackages.buildPythonApplication rec {
pname = "mopidy-soundcloud"; pname = "mopidy-soundcloud";
version = "3.0.2"; version = "3.0.2";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mopidy"; owner = "mopidy";
repo = "mopidy-soundcloud"; repo = "mopidy-soundcloud";
rev = "v${version}"; tag = "v${version}";
sha256 = "sha256-1Qqbfw6NZ+2K1w+abMBfWo0RAmIRbNyIErEmalmWJ0s="; sha256 = "sha256-1Qqbfw6NZ+2K1w+abMBfWo0RAmIRbNyIErEmalmWJ0s=";
}; };
propagatedBuildInputs = [ build-system = [
pythonPackages.setuptools
];
dependencies = [
mopidy mopidy
pythonPackages.beautifulsoup4 pythonPackages.beautifulsoup4
]; ];
doCheck = false; doCheck = false;
pythonImportsCheck = [ "mopidy_soundcloud" ];
meta = with lib; { meta = with lib; {
description = "Mopidy extension for playing music from SoundCloud"; description = "Mopidy extension for playing music from SoundCloud";
license = licenses.mit; license = licenses.mit;

View File

@ -8,21 +8,29 @@
pythonPackages.buildPythonApplication rec { pythonPackages.buildPythonApplication rec {
pname = "mopidy-subidy"; pname = "mopidy-subidy";
version = "1.0.0"; version = "1.0.0";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Prior99"; owner = "Prior99";
repo = pname; repo = "mopidy-subidy";
rev = version; tag = version;
sha256 = "0c5ghhhrj5v3yp4zmll9ari6r5c6ha8c1izwqshvadn40b02q7xz"; sha256 = "0c5ghhhrj5v3yp4zmll9ari6r5c6ha8c1izwqshvadn40b02q7xz";
}; };
propagatedBuildInputs = [ build-system = [
pythonPackages.setuptools
];
dependencies = [
mopidy mopidy
pythonPackages.py-sonic pythonPackages.py-sonic
]; ];
nativeCheckInputs = with pythonPackages; [ pytestCheckHook ]; nativeCheckInputs = [
pythonPackages.pytestCheckHook
];
pythonImportsCheck = [ "mopidy_subidy" ];
meta = with lib; { meta = with lib; {
homepage = "https://www.mopidy.com/"; homepage = "https://www.mopidy.com/";

View File

@ -1,14 +1,14 @@
{ {
lib, lib,
python3Packages, pythonPackages,
fetchPypi, fetchPypi,
mopidy, mopidy,
}: }:
python3Packages.buildPythonApplication rec { pythonPackages.buildPythonApplication rec {
pname = "mopidy-tunein"; pname = "mopidy-tunein";
version = "1.1.0"; version = "1.1.0";
format = "setuptools"; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit version; inherit version;
@ -16,7 +16,11 @@ python3Packages.buildPythonApplication rec {
sha256 = "01y1asylscr73yqx071imhrzfzlg07wmqqzkdvpgm6r35marc2li"; sha256 = "01y1asylscr73yqx071imhrzfzlg07wmqqzkdvpgm6r35marc2li";
}; };
propagatedBuildInputs = [ build-system = [
pythonPackages.setuptools
];
dependencies = [
mopidy mopidy
]; ];

View File

@ -1,44 +1,24 @@
{ {
lib, lib,
fetchFromGitHub, fetchFromGitHub,
python3, pythonPackages,
mopidy, mopidy,
yt-dlp, pkgs,
extraPkgs ? pkgs: [ ], extraPkgs ? pkgs: [ ],
}: }:
python3.pkgs.buildPythonApplication rec { pythonPackages.buildPythonApplication rec {
pname = "mopidy-youtube"; pname = "mopidy-youtube";
version = "3.7"; version = "3.7";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "natumbri"; owner = "natumbri";
repo = pname; repo = "mopidy-youtube";
rev = "refs/tags/v${version}"; tag = "v${version}";
hash = "sha256-iFt7r8Ljymc+grNJiOClTHkZOeo7AcYpcNc8tLMPROk="; hash = "sha256-iFt7r8Ljymc+grNJiOClTHkZOeo7AcYpcNc8tLMPROk=";
}; };
propagatedBuildInputs =
with python3.pkgs;
[
beautifulsoup4
cachetools
pykka
requests
ytmusicapi
]
++ [
mopidy
yt-dlp
]
++ extraPkgs pkgs;
nativeCheckInputs = with python3.pkgs; [
vcrpy
pytestCheckHook
];
postPatch = '' postPatch = ''
substituteInPlace mopidy_youtube/youtube.py \ substituteInPlace mopidy_youtube/youtube.py \
--replace-fail 'youtube_dl_package = "youtube_dl"' 'youtube_dl_package = "yt_dlp"' --replace-fail 'youtube_dl_package = "youtube_dl"' 'youtube_dl_package = "yt_dlp"'
@ -49,6 +29,25 @@ python3.pkgs.buildPythonApplication rec {
--replace-fail '"youtube_dl_package": "youtube_dl",' '"youtube_dl_package": "yt_dlp",' --replace-fail '"youtube_dl_package": "youtube_dl",' '"youtube_dl_package": "yt_dlp",'
''; '';
build-system = [
pythonPackages.setuptools
];
dependencies = [
mopidy
pythonPackages.beautifulsoup4
pythonPackages.cachetools
pythonPackages.pykka
pythonPackages.requests
pythonPackages.ytmusicapi
pythonPackages.yt-dlp
] ++ extraPkgs pkgs; # should we remove this? If we do, don't forget to also change the docs!
nativeCheckInputs = with pythonPackages; [
vcrpy
pytestCheckHook
];
disabledTests = [ disabledTests = [
# Test requires a YouTube API key # Test requires a YouTube API key
"test_get_default_config" "test_get_default_config"

View File

@ -3,8 +3,7 @@
buildPythonApplication, buildPythonApplication,
fetchFromGitHub, fetchFromGitHub,
configargparse, configargparse,
setuptools, hatchling,
poetry-core,
rbw, rbw,
waylandSupport ? false, waylandSupport ? false,
@ -18,19 +17,18 @@
buildPythonApplication rec { buildPythonApplication rec {
pname = "rofi-rbw"; pname = "rofi-rbw";
version = "1.4.2"; version = "1.5.1";
format = "pyproject"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fdw"; owner = "fdw";
repo = "rofi-rbw"; repo = "rofi-rbw";
tag = version; tag = version;
hash = "sha256-wUb89GkNB2lEfb42hMvcxpbjc1O+wx8AkFjq7aJwAko="; hash = "sha256-Qdbz3UjWMCuJUzR6UMt/apt+OjMAr2U7uMtv9wxEZKE=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
setuptools hatchling
poetry-core
]; ];
buildInputs = buildInputs =

View File

@ -35,6 +35,6 @@ crystal.buildCrystalPackage rec {
mainProgram = "amqpcat"; mainProgram = "amqpcat";
homepage = "https://github.com/cloudamqp/amqpcat"; homepage = "https://github.com/cloudamqp/amqpcat";
license = lib.licenses.mit; license = lib.licenses.mit;
maintainers = with lib.maintainers; [ aaronjheng ]; maintainers = with lib.maintainers; [ ];
}; };
} }

View File

@ -7,13 +7,13 @@
stdenvNoCC.mkDerivation { stdenvNoCC.mkDerivation {
pname = "ananicy-rules-cachyos"; pname = "ananicy-rules-cachyos";
version = "0-unstable-2025-03-19"; version = "0-unstable-2025-07-06";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "CachyOS"; owner = "CachyOS";
repo = "ananicy-rules"; repo = "ananicy-rules";
rev = "99693d533a238c19915057f9cd5e541e6dbf57d9"; rev = "339bee6f2de3de8e866c23b210baf6cabf153549";
hash = "sha256-dTGfOw2Cj4q3AiQswcyl9bWUw1qInyqap43r4j+qS1Y="; hash = "sha256-D/+/7NdfV8kHwYm5mJ6b7Vl3QCUdK2+NbZSefWTZt5k=";
}; };
dontConfigure = true; dontConfigure = true;

View File

@ -8,22 +8,26 @@
pkg-config, pkg-config,
stdenv, stdenv,
installShellFiles, installShellFiles,
nix-update-script,
crates ? [ "attic-client" ], crates ? [ "attic-client" ],
}: }:
let let
# Only the attic-client crate builds against the Nix C++ libs # Only the attic-client crate builds against the Nix C++ libs
# This derivation is also used to build the server # This derivation is also used to build the server
needNixInclude = lib.elem "attic-client" crates; needNixInclude = lib.elem "attic-client" crates;
nix = nixVersions.nix_2_28;
in in
rustPlatform.buildRustPackage { rustPlatform.buildRustPackage {
pname = "attic"; pname = "attic";
version = "0-unstable-2025-07-01"; version = "0-unstable-2025-07-08";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "zhaofengli"; owner = "zhaofengli";
repo = "attic"; repo = "attic";
rev = "896ad88fa57ad5dbcd267c0ac51f1b71ccfcb4dd"; rev = "07147da79388468ff85c2a650500d11ca0edd12e";
hash = "sha256-V0EPQNsQko1a8OqIWc2lLviLnMpR1m08Ej00z5RVTfs="; hash = "sha256-pHsHcWQWGyzDh48YHnSw9YVKEnQ95QWnmHNFtvo7iu0=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -31,21 +35,15 @@ rustPlatform.buildRustPackage {
installShellFiles installShellFiles
]; ];
buildInputs = lib.optional needNixInclude nixVersions.nix_2_24 ++ [ buildInputs = lib.optional needNixInclude nix ++ [ boost ];
boost
];
cargoBuildFlags = lib.concatMapStrings (c: "-p ${c} ") crates; cargoBuildFlags = lib.concatMapStrings (c: "-p ${c} ") crates;
cargoHash = "sha256-AbpWnYfBMrR6oOfy2LkQvIPYsClCWE89bJav+iHTtLM="; cargoHash = "sha256-I5GS32dOCECYKSNMi2Xs2rBRxPLcvLEWHlIIWP/bMBU=";
useFetchCargoVendor = true; useFetchCargoVendor = true;
env = env = {
{ ATTIC_DISTRIBUTOR = "nixpkgs";
ATTIC_DISTRIBUTOR = "nixpkgs"; } // lib.optionalAttrs needNixInclude { NIX_INCLUDE_PATH = "${lib.getDev nix}/include"; };
}
// lib.optionalAttrs needNixInclude {
NIX_INCLUDE_PATH = "${lib.getDev nixVersions.nix_2_24}/include";
};
# Attic interacts with Nix directly and its tests require trusted-user access # Attic interacts with Nix directly and its tests require trusted-user access
# to nix-daemon to import NARs, which is not possible in the build sandbox. # to nix-daemon to import NARs, which is not possible in the build sandbox.
@ -61,22 +59,21 @@ rustPlatform.buildRustPackage {
''; '';
passthru = { passthru = {
tests = { tests = { inherit (nixosTests) atticd; };
inherit (nixosTests) atticd;
};
updateScript = ./update.sh; updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; };
}; };
meta = with lib; { meta = {
description = "Multi-tenant Nix Binary Cache"; description = "Multi-tenant Nix Binary Cache";
homepage = "https://github.com/zhaofengli/attic"; homepage = "https://github.com/zhaofengli/attic";
license = licenses.asl20; license = lib.licenses.asl20;
maintainers = with maintainers; [ maintainers = with lib.maintainers; [
zhaofengli zhaofengli
aciceri aciceri
defelo
]; ];
platforms = platforms.linux ++ platforms.darwin; platforms = lib.platforms.linux ++ lib.platforms.darwin;
mainProgram = "attic"; mainProgram = "attic";
}; };
} }

View File

@ -1,40 +0,0 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p wget nix-prefetch-github jq coreutils
# shellcheck shell=bash
if [ -n "$GITHUB_TOKEN" ]; then
TOKEN_ARGS=(--header "Authorization: token $GITHUB_TOKEN")
fi
if [[ $# -gt 1 || $1 == -* ]]; then
echo "Regenerates packaging data for attic."
echo "Usage: $0 [git commit]"
exit 1
fi
set -x
cd "$(dirname "$0")"
rev="$1"
set -euo pipefail
if [ -z "$rev" ]; then
rev="$(wget -O- "${TOKEN_ARGS[@]}" "https://api.github.com/repos/zhaofengli/attic/commits?per_page=1" | jq -r '.[0].sha')"
fi
date="$(wget -O- "${TOKEN_ARGS[@]}" "https://api.github.com/repos/zhaofengli/attic/commits/$rev" | jq -r '.commit.author.date' | cut -dT -f1)"
version="0-unstable-$date"
# Sources
src_hash=$(nix-prefetch-github zhaofengli attic --rev "$rev" | jq -r .hash)
# Cargo.lock
src="https://raw.githubusercontent.com/zhaofengli/attic/$rev"
wget "${TOKEN_ARGS[@]}" "$src/Cargo.lock" -O Cargo.lock
sed -i -E -e "s#version = \".*\"#version = \"$version\"#" package.nix
sed -i -E -e "s#rev = \".*\"#rev = \"$rev\"#" package.nix
sed -i -E -e "s#hash = \".*\"#hash = \"$src_hash\"#" package.nix

View File

@ -58,12 +58,12 @@
bats-detik = stdenv.mkDerivation (finalAttrs: { bats-detik = stdenv.mkDerivation (finalAttrs: {
pname = "bats-detik"; pname = "bats-detik";
version = "1.3.2"; version = "1.3.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bats-core"; owner = "bats-core";
repo = "bats-detik"; repo = "bats-detik";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
hash = "sha256-f8PN+VsUdUXrR9JiQgVuYDy2QgOtaxE8tkkxOUF0uC4="; hash = "sha256-NM8/WDiTOJORC6+pAa6tYJC7wnuMH9OP5LBaatXyaYw=";
}; };
dontBuild = true; dontBuild = true;
installPhase = '' installPhase = ''

View File

@ -22,11 +22,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "brltty"; pname = "brltty";
version = "6.7"; version = "6.8";
src = fetchurl { src = fetchurl {
url = "https://brltty.app/archive/brltty-${version}.tar.gz"; url = "https://brltty.app/archive/brltty-${version}.tar.gz";
sha256 = "sha256-FsM9AeL1lnBziJlmB7EZAIgDKylT8D4Il81Fe1y9Yjg="; sha256 = "sha256-MoDYjHU6aJY9e5cgjm9InOEDGCs+jvlEurMWg9wo4RY=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -0,0 +1,49 @@
{
lib,
fetchFromGitHub,
python3,
}:
python3.pkgs.buildPythonApplication rec {
pname = "bypass-url-parser";
version = "0.4.4";
pyproject = true;
src = fetchFromGitHub {
owner = "laluka";
repo = "bypass-url-parser";
tag = "v${version}";
hash = "sha256-h9+kM2LmfPaaM7MK6lK/ARrArwvRn6d+3BW+rNTkqzA=";
};
build-system = with python3.pkgs; [ pdm-backend ];
dependencies = with python3.pkgs; [
coloredlogs
docopt
];
nativeCheckInputs = with python3.pkgs; [ pytestCheckHook ];
pythonImportsCheck = [ "bypass_url_parser" ];
preCheck = ''
# Some tests need the binary
export PATH=$out/bin:$PATH
'';
disabledTests = [
# Tests require network access
"test_sample_usage"
"test_sample_cli_usage"
];
meta = {
description = "Tool that tests URL bypasses to reach a 40X protected page";
homepage = "https://github.com/laluka/bypass-url-parser";
changelog = "https://github.com/laluka/bypass-url-parser/releases/tag/${src.tag}";
license = lib.licenses.agpl3Plus;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "bypass-url-parser";
};
}

View File

@ -11,13 +11,13 @@
buildGoModule rec { buildGoModule rec {
pname = "fastly"; pname = "fastly";
version = "11.3.0"; version = "11.4.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fastly"; owner = "fastly";
repo = "cli"; repo = "cli";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-SFBKu30C92BbbwSlmlRU/66mBywROktWUiw8fltFXoA="; hash = "sha256-jfj37b3L3LcPODBYBAOTWq+mA0xrIr3r+6lu65gKyYI=";
# The git commit is part of the `fastly version` original output; # The git commit is part of the `fastly version` original output;
# leave that output the same in nixpkgs. Use the `.git` directory # leave that output the same in nixpkgs. Use the `.git` directory
# to retrieve the commit SHA, and remove the directory afterwards, # to retrieve the commit SHA, and remove the directory afterwards,
@ -34,7 +34,7 @@ buildGoModule rec {
"cmd/fastly" "cmd/fastly"
]; ];
vendorHash = "sha256-ypimv9xi3mKL6xmmkAYdUO+lspafXpJsP8StaniboE0="; vendorHash = "sha256-souo+yksoZpUxWfY7flL4uLdRgAIrtZKRIlGK0p1hZs=";
nativeBuildInputs = [ nativeBuildInputs = [
installShellFiles installShellFiles

View File

@ -16,14 +16,14 @@
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "gapless"; pname = "gapless";
version = "4.4"; version = "4.5";
src = fetchFromGitLab { src = fetchFromGitLab {
domain = "gitlab.gnome.org"; domain = "gitlab.gnome.org";
owner = "neithern"; owner = "neithern";
repo = "g4music"; repo = "g4music";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
hash = "sha256-10AFaUmqVkL4q8xgewfosN2/SziNhat9p6x/+9mBdyU="; hash = "sha256-P8hmywS/k+24KfFxpQdnBv0ArD+pKgUNcYk/Mnsx5jY=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -18,7 +18,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
src = fetchurl { src = fetchurl {
url = "https://github.com/4ian/GDevelop/releases/download/v${version}/GDevelop-5-${version}-universal-mac.zip"; url = "https://github.com/4ian/GDevelop/releases/download/v${version}/GDevelop-5-${version}-universal-mac.zip";
hash = "sha256-R8RB88K8dymzQnfeZUypo24EkXzpDfcsosQg3gTo3WI="; hash = "sha256-/0wqZN9bVCNXAe9LkGL8/dw2b/stffDbPPaZQrugEhQ=";
}; };
sourceRoot = "."; sourceRoot = ".";

View File

@ -13,7 +13,7 @@ let
if stdenv.hostPlatform.system == "x86_64-linux" then if stdenv.hostPlatform.system == "x86_64-linux" then
fetchurl { fetchurl {
url = "https://github.com/4ian/GDevelop/releases/download/v${version}/GDevelop-5-${version}.AppImage"; url = "https://github.com/4ian/GDevelop/releases/download/v${version}/GDevelop-5-${version}.AppImage";
hash = "sha256-ZVQ5e7Ghj/wZDE0RvoH264KNxaHP6x5fxSWEbbYsa88="; hash = "sha256-+J0AURlpnZ7Do0ZRqzwwvdcyozZLdWGQKr+7OggOn1I=";
} }
else else
throw "${pname}-${version} is not supported on ${stdenv.hostPlatform.system}"; throw "${pname}-${version} is not supported on ${stdenv.hostPlatform.system}";

View File

@ -5,7 +5,7 @@
... ...
}: }:
let let
version = "5.5.233"; version = "5.5.236";
pname = "gdevelop"; pname = "gdevelop";
meta = { meta = {
description = "Graphical Game Development Studio"; description = "Graphical Game Development Studio";

View File

@ -62,13 +62,13 @@ lib.checkListOfEnum "${pname}: theme variants"
stdenvNoCC.mkDerivation stdenvNoCC.mkDerivation
rec { rec {
inherit pname; inherit pname;
version = "2024-07-15"; version = "2025-07-06";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "vinceliuice"; owner = "vinceliuice";
repo = "graphite-gtk-theme"; repo = "graphite-gtk-theme";
rev = version; rev = version;
hash = "sha256-k93l/7DF0HSKPfiIxzBLz0mBflgbdYJyGLEmWZx3q7o="; hash = "sha256-TOIpQTYg+1DX/Tq5BMygxbUC0NpzPWBGDtOnnT55c1w=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -6,14 +6,14 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "ha-mqtt-discoverable-cli"; pname = "ha-mqtt-discoverable-cli";
version = "0.19.2.1"; version = "0.20.1";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "unixorn"; owner = "unixorn";
repo = "ha-mqtt-discoverable-cli"; repo = "ha-mqtt-discoverable-cli";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-SPCbBqdhC+pgV3mQ+e3jkg2hWYegl1wE38Ac06R5uAA="; hash = "sha256-4iQHpz09CbPuU+236HQdRNRDB3bcj9VZ0s/4BdxyB/8=";
}; };
pythonRelaxDeps = [ "ha-mqtt-discoverable" ]; pythonRelaxDeps = [ "ha-mqtt-discoverable" ];

View File

@ -1,8 +1,8 @@
diff --git a/pack.ts b/pack.ts diff --git a/pack.ts b/pack.ts
index aba98cc..03ce86a 100644 index 0212d09..03ce86a 100644
--- a/pack.ts --- a/pack.ts
+++ b/pack.ts +++ b/pack.ts
@@ -75,33 +75,7 @@ const packageApp = async () => { @@ -75,39 +75,7 @@ const packageApp = async () => {
delete pJson.scripts.prepack; // We don't want to rebuild - all built code will be in the packed content delete pJson.scripts.prepack; // We don't want to rebuild - all built code will be in the packed content
await fs.writeJson(path.join(OUTPUT_DIR, 'package.json'), pJson); await fs.writeJson(path.join(OUTPUT_DIR, 'package.json'), pJson);
@ -10,20 +10,26 @@ index aba98cc..03ce86a 100644
- -
- // Run build-release in this folder, for each platform. For each bundle, we copy in - // Run build-release in this folder, for each platform. For each bundle, we copy in
- // only the relevant platform-specific NSS files. - // only the relevant platform-specific NSS files.
- console.log('Building for Linux'); - console.log('Building for Linux x64');
- await fs.mkdir(path.join(OUTPUT_DIR, 'nss')); - await fs.mkdir(path.join(OUTPUT_DIR, 'nss'));
- await fs.copy(path.join(__dirname, 'nss', 'linux'), path.join(OUTPUT_DIR, 'nss', 'linux')); - await fs.copy(path.join(__dirname, 'nss', 'linux'), path.join(OUTPUT_DIR, 'nss', 'linux'));
- await spawn(buildScript, ['linux'], { cwd: OUTPUT_DIR, stdio: 'inherit' }); - await spawn(buildScript, ['linux', 'x64'], { cwd: OUTPUT_DIR, stdio: 'inherit' });
- -
- console.log('Building for Darwin'); - console.log('Building for Linux arm64');
- await spawn(buildScript, ['linux', 'arm64'], { cwd: OUTPUT_DIR, stdio: 'inherit' });
-
- console.log('Building for Darwin x64');
- await fs.remove(path.join(OUTPUT_DIR, 'nss', 'linux')); - await fs.remove(path.join(OUTPUT_DIR, 'nss', 'linux'));
- await fs.copy(path.join(__dirname, 'nss', 'darwin'), path.join(OUTPUT_DIR, 'nss', 'darwin')); - await fs.copy(path.join(__dirname, 'nss', 'darwin'), path.join(OUTPUT_DIR, 'nss', 'darwin'));
- await spawn(buildScript, ['darwin'], { cwd: OUTPUT_DIR, stdio: 'inherit' }); - await spawn(buildScript, ['darwin', 'x64'], { cwd: OUTPUT_DIR, stdio: 'inherit' });
-
- console.log('Building for Darwin arm64');
- await spawn(buildScript, ['darwin', 'arm64'], { cwd: OUTPUT_DIR, stdio: 'inherit' });
- -
- console.log('Building for Win32'); - console.log('Building for Win32');
- await fs.remove(path.join(OUTPUT_DIR, 'nss', 'darwin')); - await fs.remove(path.join(OUTPUT_DIR, 'nss', 'darwin'));
- await fs.copy(path.join(__dirname, 'nss', 'win32'), path.join(OUTPUT_DIR, 'nss', 'win32')); - await fs.copy(path.join(__dirname, 'nss', 'win32'), path.join(OUTPUT_DIR, 'nss', 'win32'));
- await spawn(buildScript, ['win32'], { cwd: OUTPUT_DIR, stdio: 'inherit' }); - await spawn(buildScript, ['win32', 'x64'], { cwd: OUTPUT_DIR, stdio: 'inherit' });
- -
- // Oclif builds a nodeless platform-agnostic bundle too (although in our case, nothing is - // Oclif builds a nodeless platform-agnostic bundle too (although in our case, nothing is
- // really platform agnostic). Not necessary, probably won't work - drop it. - // really platform agnostic). Not necessary, probably won't work - drop it.

View File

@ -9,19 +9,20 @@
pkg-config, pkg-config,
openssl, openssl,
libdatachannel, libdatachannel,
plog,
}: }:
let let
nodejs = nodejs_20; nodejs = nodejs_20;
buildNpmPackage' = buildNpmPackage.override { inherit nodejs; }; buildNpmPackage' = buildNpmPackage.override { inherit nodejs; };
version = "1.19.3"; version = "1.20.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "httptoolkit"; owner = "httptoolkit";
repo = "httptoolkit-server"; repo = "httptoolkit-server";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-cIxpV155A76TCOXurJhBA0dQpwn63hTpokBRXMLBEUA="; hash = "sha256-iEAYZX7WNk6TvZ44GAOgTqXOcW5oFn4gX+kzixZZbWA=";
}; };
overridesNodeModules = buildNpmPackage' { overridesNodeModules = buildNpmPackage' {
@ -29,7 +30,7 @@ let
inherit version src; inherit version src;
sourceRoot = "${src.name}/overrides/js"; sourceRoot = "${src.name}/overrides/js";
npmDepsHash = "sha256-GRN6ua3FY1AE61bB7PM2wgbKPZI/zJeXa5HOOh/2N2Y="; npmDepsHash = "sha256-Uw7XbfwLMX+zbSrzFgvB8lw3hxUyw1eRKazCITrT/28=";
dontBuild = true; dontBuild = true;
@ -41,20 +42,20 @@ let
nodeDatachannel = buildNpmPackage' { nodeDatachannel = buildNpmPackage' {
pname = "node-datachannel"; pname = "node-datachannel";
version = "0.4.3"; version = "0.12.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "murat-dogan"; owner = "murat-dogan";
repo = "node-datachannel"; repo = "node-datachannel";
rev = "refs/tags/v${nodeDatachannel.version}"; rev = "refs/tags/v${nodeDatachannel.version}";
hash = "sha256-BlfeocqSG+pqbK0onnCf0VKbQw8Qq4qMxhAcfGlFYR8="; hash = "sha256-xjYja+e2Z7X5cU4sEuSsJzG0gtmTPl3VrUf+ypd3zdw=";
}; };
npmFlags = [ "--ignore-scripts" ]; npmFlags = [ "--ignore-scripts" ];
makeCacheWritable = true; makeCacheWritable = true;
npmDepsHash = "sha256-pgcOOjiuWKlpD+WJyPj/c9ZhDjYuEnybpLS/BPmzeFM="; npmDepsHash = "sha256-Qhib9ZGulTXjoYcZIWunf3/BSd2SLXZuWEmMcstaphs=";
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
@ -64,6 +65,7 @@ let
buildInputs = [ buildInputs = [
openssl openssl
libdatachannel libdatachannel
plog
]; ];
dontUseCmakeConfigure = true; dontUseCmakeConfigure = true;
@ -73,10 +75,12 @@ let
preBuild = '' preBuild = ''
# don't use static libs and don't use FetchContent # don't use static libs and don't use FetchContent
# don't try to link plog (it's headers-only)
substituteInPlace CMakeLists.txt \ substituteInPlace CMakeLists.txt \
--replace-fail 'OPENSSL_USE_STATIC_LIBS TRUE' 'OPENSSL_USE_STATIC_LIBS FALSE' \ --replace-fail 'OPENSSL_USE_STATIC_LIBS TRUE' 'OPENSSL_USE_STATIC_LIBS FALSE' \
--replace-fail 'if(NOT libdatachannel)' 'if(false)' \ --replace-fail 'if(NOT libdatachannel)' 'if(false)' \
--replace-fail 'datachannel-static' 'datachannel' --replace-fail 'datachannel-static' 'datachannel' \
--replace-fail 'plog::plog' ""
# don't fetch node headers # don't fetch node headers
substituteInPlace node_modules/cmake-js/lib/dist.js \ substituteInPlace node_modules/cmake-js/lib/dist.js \
@ -98,7 +102,7 @@ buildNpmPackage' {
patches = [ ./only-build-for-one-platform.patch ]; patches = [ ./only-build-for-one-platform.patch ];
npmDepsHash = "sha256-GZESwRDG1gEVhkclR+LBWwoUYaE1xS0z4EvPN7kYTrA="; npmDepsHash = "sha256-gHXop4CTsQTSMrZ5mBHkMcmpOr2MIjVLrzjLLCfZ3As=";
npmFlags = [ "--ignore-scripts" ]; npmFlags = [ "--ignore-scripts" ];

View File

@ -12,16 +12,18 @@
buildNpmPackage rec { buildNpmPackage rec {
pname = "httptoolkit"; pname = "httptoolkit";
version = "1.19.4"; version = "1.20.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "httptoolkit"; owner = "httptoolkit";
repo = "httptoolkit-desktop"; repo = "httptoolkit-desktop";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-oDwAosyFY4ff9MP82O8q5o+mN/X6+J7hM3b7myfOq7k="; hash = "sha256-1m4okGTNrboyj+QiMFPT7Z0/+FxZtxrqqAbuAobRgvU=";
}; };
npmDepsHash = "sha256-4kREJgw7OjKkOF/J1HpD3uPn+awtQIfUGWqJctwq3N0="; npmDepsHash = "sha256-NH6Ppj6SsM0BXAgboMgp1ZPwN43ciLNBaHkz5yq8Ff8=";
makeCacheWritable = true;
env = { env = {
ELECTRON_SKIP_BINARY_DOWNLOAD = "1"; ELECTRON_SKIP_BINARY_DOWNLOAD = "1";
@ -40,7 +42,7 @@ buildNpmPackage rec {
'"forceCodeSigning": true' \ '"forceCodeSigning": true' \
'"forceCodeSigning": false' '"forceCodeSigning": false'
cp -r ${electron.dist} electron-dist cp -rL ${electron.dist} electron-dist
chmod -R u+w electron-dist chmod -R u+w electron-dist
npm exec electron-builder -- \ npm exec electron-builder -- \

View File

@ -40,7 +40,7 @@ buildGoModule (finalAttrs: {
description = "High-performance and strong-extensibility Golang RPC framework"; description = "High-performance and strong-extensibility Golang RPC framework";
homepage = "https://github.com/cloudwego/kitex"; homepage = "https://github.com/cloudwego/kitex";
license = lib.licenses.asl20; license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ aaronjheng ]; maintainers = with lib.maintainers; [ ];
mainProgram = "kitex"; mainProgram = "kitex";
}; };
}) })

View File

@ -11,16 +11,16 @@
buildGoModule (finalAttrs: { buildGoModule (finalAttrs: {
pname = "krillinai"; pname = "krillinai";
version = "1.2.2"; version = "1.3.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "krillinai"; owner = "krillinai";
repo = "KlicStudio"; repo = "KlicStudio";
tag = "v${finalAttrs.version}"; tag = "v${finalAttrs.version}";
hash = "sha256-RHlQeTFeG23LjLwczSGIghH3XPFTR6ZVDFk2KlRQGoA="; hash = "sha256-Cd+MrKXezcBKRSwmoRaD/2jiNT7r8R7IGweXHDZFhWE=";
}; };
vendorHash = "sha256-PN0ntMoPG24j3DrwuIiYHo71QmSU7u/A9iZ5OruIV/w="; vendorHash = "sha256-bAKLNpt0K06egScyn7ImHV0csDsMQGUm92kU1PVQK+I=";
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];

View File

@ -3,46 +3,45 @@
stdenv, stdenv,
fetchFromGitHub, fetchFromGitHub,
cmake, cmake,
wrapQtAppsHook, qt6,
qtmultimedia, qt6Packages,
qtwayland,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "libremines"; pname = "libremines";
version = "2.0.1"; version = "2.0.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Bollos00"; owner = "Bollos00";
repo = pname; repo = "libremines";
rev = "v${version}"; tag = "v${finalAttrs.version}";
hash = "sha256-TQwjEgtqAvKnrpia6VloRgFwtq5TNDmxU+ZWjtEK/n8="; hash = "sha256-TQwjEgtqAvKnrpia6VloRgFwtq5TNDmxU+ZWjtEK/n8=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
wrapQtAppsHook qt6.wrapQtAppsHook
]; ];
buildInputs = buildInputs =
[ [
qtmultimedia qt6Packages.qtmultimedia
] ]
++ lib.optionals stdenv.hostPlatform.isLinux [ ++ lib.optionals stdenv.hostPlatform.isLinux [
qtwayland qt6Packages.qtwayland
]; ];
cmakeFlags = [ "-DUSE_QT6=TRUE" ]; cmakeFlags = [ "-DUSE_QT6=TRUE" ];
meta = with lib; { meta = {
description = "Qt based Minesweeper game"; description = "Qt based Minesweeper game";
mainProgram = "libremines"; mainProgram = "libremines";
longDescription = '' longDescription = ''
A Free/Libre and Open Source Software Qt based Minesweeper game available for GNU/Linux, FreeBSD and Windows systems. A Free/Libre and Open Source Software Qt based Minesweeper game available for GNU/Linux, FreeBSD and Windows systems.
''; '';
homepage = "https://bollos00.github.io/LibreMines"; homepage = "https://bollos00.github.io/LibreMines";
license = licenses.gpl3Plus; license = lib.licenses.gpl3Plus;
maintainers = with maintainers; [ aleksana ]; maintainers = with lib.maintainers; [ aleksana ];
platforms = platforms.unix; platforms = lib.platforms.unix;
}; };
} })

View File

@ -115,14 +115,14 @@ assert enableZfs -> isLinux;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libvirt"; pname = "libvirt";
# if you update, also bump <nixpkgs/pkgs/development/python-modules/libvirt/default.nix> and SysVirt in <nixpkgs/pkgs/top-level/perl-packages.nix> # if you update, also bump <nixpkgs/pkgs/development/python-modules/libvirt/default.nix> and SysVirt in <nixpkgs/pkgs/top-level/perl-packages.nix>
version = "11.4.0"; version = "11.5.0";
src = fetchFromGitLab { src = fetchFromGitLab {
owner = "libvirt"; owner = "libvirt";
repo = "libvirt"; repo = "libvirt";
tag = "v${version}"; tag = "v${version}";
fetchSubmodules = true; fetchSubmodules = true;
hash = "sha256-0bOX95Ly8d1/XZan/EyxI6JaACJvOu9QsTkFNQTreqI="; hash = "sha256-wp/igqlyGqJiMCxcXFmPQgVDarVhR87Qlvuct+Eb8zA=";
}; };
patches = patches =

View File

@ -4,17 +4,15 @@
buildGoModule, buildGoModule,
fetchFromGitHub, fetchFromGitHub,
fetchpatch,
makeDesktopItem, makeDesktopItem,
cmake, cmake,
copyDesktopItems, copyDesktopItems,
ninja, ninja,
libcpr,
protobuf, protobuf,
qt6Packages, qt6Packages,
yaml-cpp,
zxing-cpp,
sing-geoip, sing-geoip,
sing-geosite, sing-geosite,
@ -22,13 +20,13 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "nekoray"; pname = "nekoray";
version = "4.3.5"; version = "4.3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Mahdi-zarei"; owner = "Mahdi-zarei";
repo = "nekoray"; repo = "nekoray";
tag = finalAttrs.version; tag = finalAttrs.version;
hash = "sha256-dq3rBvCFEs+4+UadFObMnHhIiYeFlpvvLjTo0lcG8rE="; hash = "sha256-oRoHu9mt4LiGJFe2OEATbPQ8buYT/6o9395BxYg1qKI=";
}; };
strictDeps = true; strictDeps = true;
@ -41,12 +39,9 @@ stdenv.mkDerivation (finalAttrs: {
]; ];
buildInputs = [ buildInputs = [
libcpr
protobuf protobuf
qt6Packages.qtbase qt6Packages.qtbase
qt6Packages.qttools qt6Packages.qttools
yaml-cpp
zxing-cpp
]; ];
cmakeFlags = [ cmakeFlags = [
@ -106,9 +101,18 @@ stdenv.mkDerivation (finalAttrs: {
patches = [ patches = [
# also check cap_net_admin so we don't have to set suid # also check cap_net_admin so we don't have to set suid
./core-also-check-capabilities.patch ./core-also-check-capabilities.patch
# adds missing entries to the lockfile
# can be removed next update
(fetchpatch {
name = "fix-lockfile.patch";
url = "https://github.com/Mahdi-zarei/nekoray/commit/6f9b2c69e21b0b86242fcc5731f21561373d0963.patch";
stripLen = 2;
hash = "sha256-LDLgCQUXOqaV++6Z4/8r2IaBM+Kz/LckjVsvZn/0lLM=";
})
]; ];
vendorHash = "sha256-hZiEIJ4/TcLUfT+pkqs6WfzjqppSTjKXEtQC+DS26Ug="; vendorHash = "sha256-6Q6Qi3QQOmuLBaV4t/CEER6s1MUvL7ER6Hfm44sQk4M=";
# ldflags and tags are taken from script/build_go.sh # ldflags and tags are taken from script/build_go.sh
ldflags = [ ldflags = [

View File

@ -25,19 +25,23 @@ in
py.pkgs.buildPythonApplication rec { py.pkgs.buildPythonApplication rec {
pname = "oci-cli"; pname = "oci-cli";
version = "3.61.0"; version = "3.62.1";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "oracle"; owner = "oracle";
repo = "oci-cli"; repo = "oci-cli";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-/Dl7y4asXDJiqAF5uvffrCnVWlObQt2cemQ23OKL0Xc="; hash = "sha256-Y1bkBdmgmaiHHizGJkBINXN/pL/DEcjIwFq8XjoK5Kc=";
}; };
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];
propagatedBuildInputs = with py.pkgs; [ build-system = with py.pkgs; [
setuptools
];
dependencies = with py.pkgs; [
arrow arrow
certifi certifi
click click
@ -55,6 +59,7 @@ py.pkgs.buildPythonApplication rec {
]; ];
pythonRelaxDeps = [ pythonRelaxDeps = [
"click"
"PyYAML" "PyYAML"
"cryptography" "cryptography"
"oci" "oci"

View File

@ -11,7 +11,7 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "onioncircuits"; pname = "onioncircuits";
version = "0.8.1"; version = "0.8.1";
format = "setuptools"; pyproject = true;
src = fetchFromGitLab { src = fetchFromGitLab {
domain = "gitlab.tails.boum.org"; domain = "gitlab.tails.boum.org";
@ -25,10 +25,14 @@ python3.pkgs.buildPythonApplication rec {
gobject-introspection gobject-introspection
intltool intltool
wrapGAppsHook3 wrapGAppsHook3
python3.pkgs.distutils-extra
]; ];
propagatedBuildInputs = with python3.pkgs; [ build-system = with python3.pkgs; [
setuptools
distutils-extra
];
dependencies = with python3.pkgs; [
pygobject3 pygobject3
stem stem
]; ];

View File

@ -7,7 +7,7 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "onlykey-cli"; pname = "onlykey-cli";
version = "1.2.10"; version = "1.2.10";
format = "setuptools"; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit version; inherit version;
@ -16,10 +16,14 @@ python3Packages.buildPythonApplication rec {
}; };
build-system = with python3Packages; [ build-system = with python3Packages; [
cython setuptools
]; ];
propagatedBuildInputs = with python3Packages; [ pythonRemoveDeps = [
"Cython" # don't know why cython is listed as a runtime dependency, let's just remove it
];
dependencies = with python3Packages; [
aenum aenum
ecdsa ecdsa
hidapi hidapi

View File

@ -12,12 +12,12 @@
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "opencloud-desktop"; pname = "opencloud-desktop";
version = "1.0.0"; version = "2.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "opencloud-eu"; owner = "opencloud-eu";
repo = "desktop"; repo = "desktop";
tag = "v${finalAttrs.version}"; tag = "v${finalAttrs.version}";
hash = "sha256-sGbjFPidPncCu9LqaeClrXoKQUzhbR1XbX8RoLuz+N8="; hash = "sha256-NM9SspeMXu1q3tfpcFk4OuLapu/clbotJLu2u4nmAlY=";
}; };
buildInputs = [ buildInputs = [

View File

@ -6,7 +6,7 @@
}: }:
python3Packages.buildPythonApplication { python3Packages.buildPythonApplication {
format = "setuptools"; pyproject = true;
pname = "opensnitch-ui"; pname = "opensnitch-ui";
inherit (opensnitch) src version; inherit (opensnitch) src version;
@ -18,7 +18,6 @@ python3Packages.buildPythonApplication {
''; '';
nativeBuildInputs = [ nativeBuildInputs = [
python3Packages.pyqt5
qt5.wrapQtAppsHook qt5.wrapQtAppsHook
]; ];
@ -26,6 +25,11 @@ python3Packages.buildPythonApplication {
qt5.qtwayland qt5.qtwayland
]; ];
build-system = with python3Packages; [
setuptools
pyqt5
];
dependencies = with python3Packages; [ dependencies = with python3Packages; [
grpcio-tools grpcio-tools
notify2 notify2
@ -59,6 +63,8 @@ python3Packages.buildPythonApplication {
# All tests are sandbox-incompatible and disabled for now # All tests are sandbox-incompatible and disabled for now
doCheck = false; doCheck = false;
pythonImportsCheck = [ "opensnitch" ];
meta = { meta = {
description = "Application firewall"; description = "Application firewall";
mainProgram = "opensnitch-ui"; mainProgram = "opensnitch-ui";

View File

@ -7,7 +7,7 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "opentimestamps-client"; pname = "opentimestamps-client";
version = "0.7.2"; version = "0.7.2";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "opentimestamps"; owner = "opentimestamps";
@ -16,7 +16,11 @@ python3.pkgs.buildPythonApplication rec {
hash = "sha256-ny2svB8WcoUky8UfeilANo1DlS+f3o9RtV4YNmUwjJk="; hash = "sha256-ny2svB8WcoUky8UfeilANo1DlS+f3o9RtV4YNmUwjJk=";
}; };
propagatedBuildInputs = with python3.pkgs; [ build-system = with python3.pkgs; [
setuptools
];
dependencies = with python3.pkgs; [
appdirs appdirs
gitpython gitpython
opentimestamps opentimestamps

View File

@ -8,7 +8,7 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "outputcheck"; pname = "outputcheck";
version = "0.4.2"; version = "0.4.2";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "stp"; owner = "stp";
@ -23,16 +23,18 @@ python3.pkgs.buildPythonApplication rec {
# - Fix version number cannot find error # - Fix version number cannot find error
postPatch = '' postPatch = ''
substituteInPlace OutputCheck/Driver.py \ substituteInPlace OutputCheck/Driver.py \
--replace "argparse.FileType('rU')" "argparse.FileType('r')" --replace-fail "argparse.FileType('rU')" "argparse.FileType('r')"
substituteInPlace tests/invalid-regex-syntax.smt2 \ substituteInPlace tests/invalid-regex-syntax.smt2 \
--replace "unbalanced parenthesis" "missing ), unterminated subpattern" --replace-fail "unbalanced parenthesis" "missing ), unterminated subpattern"
echo ${version} > RELEASE-VERSION echo ${version} > RELEASE-VERSION
''; '';
nativeCheckInputs = [ lit ]; nativeCheckInputs = [ lit ];
build-system = with python3.pkgs; [ setuptools ];
checkPhase = '' checkPhase = ''
runHook preCheck runHook preCheck

View File

@ -7,7 +7,7 @@
python3Packages.buildPythonApplication { python3Packages.buildPythonApplication {
pname = "parsero"; pname = "parsero";
version = "0.81"; version = "0.81";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "behindthefirewalls"; owner = "behindthefirewalls";
@ -16,7 +16,13 @@ python3Packages.buildPythonApplication {
sha256 = "rqupeJxslL3AfQ+CzBWRb4ZS32VoYd8hlA+eACMKGPY="; sha256 = "rqupeJxslL3AfQ+CzBWRb4ZS32VoYd8hlA+eACMKGPY=";
}; };
propagatedBuildInputs = with python3Packages; [ build-system = with python3Packages; [ setuptools ];
pythonRemoveDeps = [
"pip" # this dependency is never actually used
];
dependencies = with python3Packages; [
beautifulsoup4 beautifulsoup4
urllib3 urllib3
]; ];

View File

@ -15,7 +15,7 @@ python3.pkgs.buildPythonApplication {
# seemingly abandoned D-Bus package pydbus and started using maintained # seemingly abandoned D-Bus package pydbus and started using maintained
# dbus-next. So let's use latest from GitHub. # dbus-next. So let's use latest from GitHub.
version = "0-unstable-2023-12-16"; version = "0-unstable-2023-12-16";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mdellweg"; owner = "mdellweg";
@ -28,14 +28,13 @@ python3.pkgs.buildPythonApplication {
# /etc/ in check phase. # /etc/ in check phase.
postPatch = '' postPatch = ''
substituteInPlace Makefile \ substituteInPlace Makefile \
--replace "dbus-run-session" "dbus-run-session --config-file=${dbus}/share/dbus-1/session.conf" \ --replace-fail "dbus-run-session" "dbus-run-session --config-file=${dbus}/share/dbus-1/session.conf" \
--replace '-p $(relpassstore)' '-p $(PASSWORD_STORE_DIR)' \ --replace-fail '-p $(relpassstore)' '-p $(PASSWORD_STORE_DIR)'
--replace 'pytest-3' 'pytest'
substituteInPlace systemd/org.freedesktop.secrets.service \ substituteInPlace systemd/org.freedesktop.secrets.service \
--replace "/bin/false" "${coreutils}/bin/false" --replace-fail "/bin/false" "${coreutils}/bin/false"
substituteInPlace systemd/dbus-org.freedesktop.secrets.service \ substituteInPlace systemd/dbus-org.freedesktop.secrets.service \
--replace "/usr/local" "$out" --replace-fail "/usr/local" "$out"
''; '';
postInstall = '' postInstall = ''
@ -44,7 +43,11 @@ python3.pkgs.buildPythonApplication {
cp systemd/dbus-org.freedesktop.secrets.service "$out/lib/systemd/user/" cp systemd/dbus-org.freedesktop.secrets.service "$out/lib/systemd/user/"
''; '';
propagatedBuildInputs = with python3.pkgs; [ build-system = with python3.pkgs; [
setuptools
];
dependencies = with python3.pkgs; [
click click
cryptography cryptography
dbus-next dbus-next
@ -67,6 +70,8 @@ python3.pkgs.buildPythonApplication {
checkTarget = "test"; checkTarget = "test";
pythonImportsCheck = [ "pass_secret_service" ];
passthru = { passthru = {
updateScript = nix-update-script { updateScript = nix-update-script {
extraArgs = [ "--version=branch" ]; extraArgs = [ "--version=branch" ];

View File

@ -7,17 +7,23 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "patatt"; pname = "patatt";
version = "0.6.3"; version = "0.6.3";
format = "setuptools"; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-mAgm9lKdJXbCZ8ofVk1b7wRstH5UIVu1mO1sS5stCig="; hash = "sha256-mAgm9lKdJXbCZ8ofVk1b7wRstH5UIVu1mO1sS5stCig=";
}; };
propagatedBuildInputs = with python3Packages; [ build-system = with python3Packages; [
setuptools
];
dependencies = with python3Packages; [
pynacl pynacl
]; ];
pythonImportsCheck = [ "patatt" ];
meta = with lib; { meta = with lib; {
homepage = "https://git.kernel.org/pub/scm/utils/patatt/patatt.git/about/"; homepage = "https://git.kernel.org/pub/scm/utils/patatt/patatt.git/about/";
license = licenses.mit0; license = licenses.mit0;

View File

@ -8,7 +8,7 @@
python312.pkgs.buildPythonApplication rec { python312.pkgs.buildPythonApplication rec {
pname = "patray"; pname = "patray";
version = "0.1.2"; version = "0.1.2";
format = "setuptools"; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit version pname; inherit version pname;
@ -21,6 +21,8 @@ python312.pkgs.buildPythonApplication rec {
sed -i '/pyside2/d' requirements/production.in sed -i '/pyside2/d' requirements/production.in
''; '';
build-system = with python312.pkgs; [ setuptools ];
dependencies = with python312.pkgs; [ dependencies = with python312.pkgs; [
pulsectl pulsectl
loguru loguru

View File

@ -7,7 +7,7 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "pentestgpt"; pname = "pentestgpt";
version = "unstable-2023-06-27"; version = "unstable-2023-06-27";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "GreyDGL"; owner = "GreyDGL";
@ -16,6 +16,8 @@ python3.pkgs.buildPythonApplication rec {
hash = "sha256-m0R/kMmbr5Ixuqvw6ZRoaAGCnI3j86Iwk4+TYqv0WbU="; hash = "sha256-m0R/kMmbr5Ixuqvw6ZRoaAGCnI3j86Iwk4+TYqv0WbU=";
}; };
build-system = with python3.pkgs; [ setuptools ];
pythonRelaxDeps = [ "playwright" ]; pythonRelaxDeps = [ "playwright" ];
pythonRemoveDeps = [ pythonRemoveDeps = [
"beautifulsoup4" "beautifulsoup4"
@ -23,7 +25,7 @@ python3.pkgs.buildPythonApplication rec {
"pytest" "pytest"
]; ];
propagatedBuildInputs = with python3.pkgs; [ dependencies = with python3.pkgs; [
beautifulsoup4 beautifulsoup4
colorama colorama
google google

View File

@ -6,7 +6,7 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "perfect-hash"; pname = "perfect-hash";
version = "0.4.1"; version = "0.4.1";
format = "setuptools"; pyproject = true;
# Archive on pypi does not contain examples, which are very helpful to # Archive on pypi does not contain examples, which are very helpful to
# understand how to use this program, so we use git source. # understand how to use this program, so we use git source.
@ -17,6 +17,8 @@ python3.pkgs.buildPythonApplication rec {
sha256 = "0gkc3n613hl0q4jknrh2nm1n96j97p36q9jjgarb9d8yii9q7792"; sha256 = "0gkc3n613hl0q4jknrh2nm1n96j97p36q9jjgarb9d8yii9q7792";
}; };
build-system = with python3.pkgs; [ setuptools ];
postInstall = '' postInstall = ''
mkdir -p $out/share/doc/perfect-hash mkdir -p $out/share/doc/perfect-hash
cp README.md $out/share/doc/perfect-hash cp README.md $out/share/doc/perfect-hash

View File

@ -7,7 +7,7 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "peru"; pname = "peru";
version = "1.3.3"; version = "1.3.3";
format = "setuptools"; pyproject = true;
disabled = python3Packages.pythonOlder "3.5"; disabled = python3Packages.pythonOlder "3.5";
@ -18,7 +18,9 @@ python3Packages.buildPythonApplication rec {
sha256 = "FCyR14jcFjI6epoFPNVyFZ4k1URZ1NraX1+ajVcCQ2A="; sha256 = "FCyR14jcFjI6epoFPNVyFZ4k1URZ1NraX1+ajVcCQ2A=";
}; };
propagatedBuildInputs = with python3Packages; [ build-system = with python3Packages; [ setuptools ];
dependencies = with python3Packages; [
pyyaml pyyaml
docopt docopt
]; ];
@ -26,6 +28,8 @@ python3Packages.buildPythonApplication rec {
# No tests in archive # No tests in archive
doCheck = false; doCheck = false;
pythonImportsCheck = [ "peru" ];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/buildinspace/peru"; homepage = "https://github.com/buildinspace/peru";
description = "Tool for including other people's code in your projects"; description = "Tool for including other people's code in your projects";

View File

@ -4,22 +4,24 @@
fetchPypi, fetchPypi,
}: }:
with python3.pkgs; python3.pkgs.buildPythonApplication rec {
buildPythonApplication rec {
pname = "pew"; pname = "pew";
version = "1.2.0"; version = "1.2.0";
format = "setuptools"; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "04anak82p4v9w0lgfs55s7diywxil6amq8c8bhli143ca8l2fcdq"; sha256 = "04anak82p4v9w0lgfs55s7diywxil6amq8c8bhli143ca8l2fcdq";
}; };
propagatedBuildInputs = [ build-system = with python3.pkgs; [
setuptools
];
dependencies = with python3.pkgs; [
virtualenv virtualenv
virtualenv-clone virtualenv-clone
setuptools setuptools # pkg_resources is imported during runtime
]; ];
# no tests are packaged # no tests are packaged

View File

@ -7,7 +7,7 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "pg_activity"; pname = "pg_activity";
version = "3.6.0"; version = "3.6.0";
format = "setuptools"; pyproject = true;
disabled = python3Packages.pythonOlder "3.8"; disabled = python3Packages.pythonOlder "3.8";
src = fetchFromGitHub { src = fetchFromGitHub {
@ -17,7 +17,9 @@ python3Packages.buildPythonApplication rec {
sha256 = "sha256-7nHtJl/b2pZqiJbpWArMS5jh7B8dv8V1esic6uFPV/0="; sha256 = "sha256-7nHtJl/b2pZqiJbpWArMS5jh7B8dv8V1esic6uFPV/0=";
}; };
propagatedBuildInputs = with python3Packages; [ build-system = with python3Packages; [ setuptools ];
dependencies = with python3Packages; [
attrs attrs
blessed blessed
humanize humanize

View File

@ -11,7 +11,7 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "photocollage"; pname = "photocollage";
version = "1.4.6"; version = "1.4.6";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "adrienverge"; owner = "adrienverge";
@ -20,7 +20,9 @@ python3Packages.buildPythonApplication rec {
hash = "sha256-jDb2mFsok8TNi9+A/FAieqo7YbAUsmrFRBGwdGv71Xg="; hash = "sha256-jDb2mFsok8TNi9+A/FAieqo7YbAUsmrFRBGwdGv71Xg=";
}; };
propagatedBuildInputs = with python3Packages; [ build-system = with python3Packages; [ setuptools ];
dependencies = with python3Packages; [
pillow pillow
pycairo pycairo
pygobject3 pygobject3
@ -50,6 +52,8 @@ python3Packages.buildPythonApplication rec {
cp -r ./data/icons $out/share/icons cp -r ./data/icons $out/share/icons
''; '';
pythonImportsCheck = [ "photocollage" ];
meta = { meta = {
description = "Graphical tool to make photo collage posters"; description = "Graphical tool to make photo collage posters";
homepage = "https://github.com/adrienverge/PhotoCollage"; homepage = "https://github.com/adrienverge/PhotoCollage";

View File

@ -8,7 +8,7 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "pianotrans"; pname = "pianotrans";
version = "1.0.1"; version = "1.0.1";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "azuwis"; owner = "azuwis";
@ -17,7 +17,9 @@ python3.pkgs.buildPythonApplication rec {
hash = "sha256-gRbyUQmPtGvx5QKAyrmeJl0stp7hwLBWwjSbJajihdE="; hash = "sha256-gRbyUQmPtGvx5QKAyrmeJl0stp7hwLBWwjSbJajihdE=";
}; };
propagatedBuildInputs = with python3.pkgs; [ build-system = with python3.pkgs; [ setuptools ];
dependencies = with python3.pkgs; [
piano-transcription-inference piano-transcription-inference
resampy resampy
tkinter tkinter

View File

@ -11,7 +11,7 @@
python3Packages.buildPythonPackage { python3Packages.buildPythonPackage {
pname = "pick-colour-picker"; pname = "pick-colour-picker";
version = "unstable-2022-05-08"; version = "unstable-2022-05-08";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "stuartlangridge"; owner = "stuartlangridge";
@ -31,6 +31,8 @@ python3Packages.buildPythonPackage {
wrapGAppsHook3 wrapGAppsHook3
]; ];
build-system = with python3Packages; [ setuptools ];
pythonPath = with python3Packages; [ pythonPath = with python3Packages; [
pygobject3 pygobject3
pycairo pycairo
@ -41,6 +43,8 @@ python3Packages.buildPythonPackage {
gtk3 gtk3
]; ];
pythonImportsCheck = [ "pick" ];
meta = with lib; { meta = with lib; {
homepage = "https://kryogenix.org/code/pick/"; homepage = "https://kryogenix.org/code/pick/";
license = licenses.mit; license = licenses.mit;

View File

@ -8,14 +8,19 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "pifpaf"; pname = "pifpaf";
version = "3.3.0"; version = "3.3.0";
format = "setuptools"; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-xXkMj1sP1xXf6Ad/71BFbq8SHz/uHcaSqv6RQN0Ca1o="; hash = "sha256-xXkMj1sP1xXf6Ad/71BFbq8SHz/uHcaSqv6RQN0Ca1o=";
}; };
propagatedBuildInputs = with python3Packages; [ build-system = with python3Packages; [
setuptools
setuptools-scm
];
dependencies = with python3Packages; [
click click
daiquiri daiquiri
fixtures fixtures

View File

@ -4,19 +4,19 @@
fetchPypi, fetchPypi,
}: }:
with python3.pkgs; python3.pkgs.buildPythonApplication rec {
buildPythonApplication rec {
pname = "pipreqs"; pname = "pipreqs";
version = "0.4.13"; version = "0.4.13";
format = "setuptools"; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-oX8WeIC2khvjdTPOTIHdxuIrRlwQeq1VfbQ7Gt1WqZs="; hash = "sha256-oX8WeIC2khvjdTPOTIHdxuIrRlwQeq1VfbQ7Gt1WqZs=";
}; };
propagatedBuildInputs = [ build-system = with python3.pkgs; [ setuptools ];
dependencies = with python3.pkgs; [
yarg yarg
docopt docopt
]; ];
@ -24,6 +24,8 @@ buildPythonApplication rec {
# Tests requires network access. Works fine without sandboxing # Tests requires network access. Works fine without sandboxing
doCheck = false; doCheck = false;
pythonImportsCheck = [ "pipreqs" ];
meta = with lib; { meta = with lib; {
description = "Generate requirements.txt file for any project based on imports"; description = "Generate requirements.txt file for any project based on imports";
homepage = "https://github.com/bndr/pipreqs"; homepage = "https://github.com/bndr/pipreqs";

View File

@ -9,19 +9,23 @@ with python3Packages;
buildPythonApplication rec { buildPythonApplication rec {
pname = "pirate-get"; pname = "pirate-get";
version = "0.4.2"; version = "0.4.2";
format = "setuptools"; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-VtnVyJqrdGXTqcyzpHCOMUI9G7/BkXzihDrBrsxl7Eg="; hash = "sha256-VtnVyJqrdGXTqcyzpHCOMUI9G7/BkXzihDrBrsxl7Eg=";
}; };
propagatedBuildInputs = [ build-system = with python3Packages; [ setuptools ];
dependencies = [
colorama colorama
veryprettytable veryprettytable
pyperclip pyperclip
]; ];
pythonImportsCheck = [ "pirate" ];
meta = with lib; { meta = with lib; {
description = "Command line interface for The Pirate Bay"; description = "Command line interface for The Pirate Bay";
mainProgram = "pirate-get"; mainProgram = "pirate-get";

View File

@ -9,7 +9,7 @@ let
version = "0.5.3"; version = "0.5.3";
in in
python3Packages.buildPythonApplication { python3Packages.buildPythonApplication {
format = "setuptools"; pyproject = true;
inherit pname version; inherit pname version;
src = fetchPypi { src = fetchPypi {
@ -17,13 +17,18 @@ python3Packages.buildPythonApplication {
hash = "sha256-6TvMznd5obkn/gsQTyZ6Pc/dF55I53987EbuSNAlY58="; hash = "sha256-6TvMznd5obkn/gsQTyZ6Pc/dF55I53987EbuSNAlY58=";
}; };
build-system = with python3Packages; [ setuptools ];
dependencies = dependencies =
with python3Packages; with python3Packages;
[ [
pymupdf pymupdf
img2pdf
] ]
++ lib.optional guiSupport tkinter; ++ lib.optional guiSupport tkinter;
pythonImportsCheck = [ "plakativ" ];
meta = { meta = {
description = "Convert a PDF into a large poster that can be printed on multiple smaller pages"; description = "Convert a PDF into a large poster that can be printed on multiple smaller pages";
mainProgram = "plakativ"; mainProgram = "plakativ";

View File

@ -8,7 +8,7 @@
python3Packages.buildPythonApplication { python3Packages.buildPythonApplication {
pname = "plecost"; pname = "plecost";
version = "1.1.4"; version = "1.1.4";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "iniqua"; owner = "iniqua";
@ -27,7 +27,9 @@ python3Packages.buildPythonApplication {
}) })
]; ];
propagatedBuildInputs = with python3Packages; [ build-system = with python3Packages; [ setuptools ];
dependencies = with python3Packages; [
aiohttp aiohttp
async-timeout async-timeout
termcolor termcolor
@ -37,6 +39,8 @@ python3Packages.buildPythonApplication {
# Project has no tests # Project has no tests
doCheck = false; doCheck = false;
pythonImportsCheck = [ "plecost_lib" ];
meta = with lib; { meta = with lib; {
description = "Vulnerability fingerprinting and vulnerability finder for Wordpress blog engine"; description = "Vulnerability fingerprinting and vulnerability finder for Wordpress blog engine";
mainProgram = "plecost"; mainProgram = "plecost";

View File

@ -7,15 +7,16 @@
python3.pkgs.buildPythonPackage rec { python3.pkgs.buildPythonPackage rec {
pname = "polygon-cli"; pname = "polygon-cli";
version = "1.1.11"; version = "1.1.11";
format = "setuptools"; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-gEz3kcXbXj9dXnMCx0Q8TjCQemXvJne9EwFsPt14xV4="; hash = "sha256-gEz3kcXbXj9dXnMCx0Q8TjCQemXvJne9EwFsPt14xV4=";
}; };
propagatedBuildInputs = with python3.pkgs; [ build-system = with python3.pkgs; [ setuptools ];
setuptools
dependencies = with python3.pkgs; [
requests requests
prettytable prettytable
colorama colorama
@ -24,6 +25,8 @@ python3.pkgs.buildPythonPackage rec {
doCheck = false; doCheck = false;
pythonImportsCheck = [ "polygon_cli" ];
meta = { meta = {
description = "Command-line tool for polygon.codeforces.com"; description = "Command-line tool for polygon.codeforces.com";
mainProgram = "polygon-cli"; mainProgram = "polygon-cli";

View File

@ -7,7 +7,7 @@
python3.pkgs.buildPythonApplication { python3.pkgs.buildPythonApplication {
pname = "pqos-wrapper"; pname = "pqos-wrapper";
version = "unstable-2022-01-31"; version = "unstable-2022-01-31";
format = "setuptools"; pyproject = true;
src = fetchFromGitLab { src = fetchFromGitLab {
group = "sosy-lab"; group = "sosy-lab";
@ -17,8 +17,12 @@ python3.pkgs.buildPythonApplication {
hash = "sha256-SaYr6lVucpJjVtGgxRbDGYbOoBwdfEDVKtvD+M1L0o4="; hash = "sha256-SaYr6lVucpJjVtGgxRbDGYbOoBwdfEDVKtvD+M1L0o4=";
}; };
build-system = with python3.pkgs; [ setuptools ];
makeWrapperArgs = [ "--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ intel-cmt-cat ]}" ]; makeWrapperArgs = [ "--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ intel-cmt-cat ]}" ];
pythonImportsCheck = [ "pqos_wrapper" ];
meta = with lib; { meta = with lib; {
description = "Wrapper for Intel PQoS for the purpose of using it in BenchExec"; description = "Wrapper for Intel PQoS for the purpose of using it in BenchExec";
homepage = "https://gitlab.com/sosy-lab/software/pqos-wrapper"; homepage = "https://gitlab.com/sosy-lab/software/pqos-wrapper";

View File

@ -8,7 +8,7 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "pre-commit-hook-ensure-sops"; pname = "pre-commit-hook-ensure-sops";
version = "1.1"; version = "1.1";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "yuvipanda"; owner = "yuvipanda";
@ -26,8 +26,12 @@ python3Packages.buildPythonApplication rec {
}) })
]; ];
propagatedBuildInputs = [ build-system = with python3Packages; [
python3Packages.ruamel-yaml setuptools
];
dependencies = with python3Packages; [
ruamel-yaml
]; ];
pythonImportsCheck = [ pythonImportsCheck = [

View File

@ -7,7 +7,7 @@
python3Packages.buildPythonApplication { python3Packages.buildPythonApplication {
pname = "config-visualizer"; pname = "config-visualizer";
version = "unstable-2022-02-23"; version = "unstable-2022-02-23";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "precice"; owner = "precice";
@ -16,7 +16,9 @@ python3Packages.buildPythonApplication {
hash = "sha256-2dnpkec9hN4oAqwu+1WmDJrfeu+JbfqZ6guv3bC4H1c="; hash = "sha256-2dnpkec9hN4oAqwu+1WmDJrfeu+JbfqZ6guv3bC4H1c=";
}; };
propagatedBuildInputs = with python3Packages; [ build-system = with python3Packages; [ setuptools ];
dependencies = with python3Packages; [
lxml lxml
pydot pydot
]; ];

View File

@ -18,14 +18,16 @@ in
python3Packages.buildPythonPackage rec { python3Packages.buildPythonPackage rec {
pname = "present"; pname = "present";
version = "0.6.0"; version = "0.6.0";
format = "setuptools"; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-l9W5L4LD9qRo3rLBkgd2I/aDaj+ucib5UYg+X4RYg6c="; hash = "sha256-l9W5L4LD9qRo3rLBkgd2I/aDaj+ucib5UYg+X4RYg6c=";
}; };
propagatedBuildInputs = with python3Packages; [ build-system = with python3Packages; [ setuptools ];
dependencies = with python3Packages; [
click click
pyyaml pyyaml
pyfiglet pyfiglet

View File

@ -7,7 +7,7 @@
python3.pkgs.buildPythonApplication { python3.pkgs.buildPythonApplication {
pname = "deluge-exporter"; pname = "deluge-exporter";
version = "2.4.0-unstable-2024-06-02"; version = "2.4.0-unstable-2024-06-02";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ibizaman"; owner = "ibizaman";
@ -16,7 +16,9 @@ python3.pkgs.buildPythonApplication {
hash = "sha256-1brLWx6IEGffcvHPCkz10k9GCNQIXXJ9PYZuEzlKHTA="; hash = "sha256-1brLWx6IEGffcvHPCkz10k9GCNQIXXJ9PYZuEzlKHTA=";
}; };
propagatedBuildInputs = with python3.pkgs; [ build-system = with python3.pkgs; [ setuptools ];
dependencies = with python3.pkgs; [
deluge-client deluge-client
loguru loguru
prometheus-client prometheus-client

View File

@ -7,7 +7,7 @@
python3.pkgs.buildPythonApplication { python3.pkgs.buildPythonApplication {
pname = "protocol"; pname = "protocol";
version = "unstable-2019-03-28"; version = "unstable-2019-03-28";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "luismartingarcia"; owner = "luismartingarcia";
@ -18,9 +18,11 @@ python3.pkgs.buildPythonApplication {
postPatch = '' postPatch = ''
substituteInPlace setup.py \ substituteInPlace setup.py \
--replace "scripts=['protocol', 'constants.py', 'specs.py']" "scripts=['protocol'], py_modules=['constants', 'specs']" --replace-fail "scripts=['protocol', 'constants.py', 'specs.py']" "scripts=['protocol'], py_modules=['constants', 'specs']"
''; '';
build-system = with python3.pkgs; [ setuptools ];
meta = with lib; { meta = with lib; {
description = "ASCII Header Generator for Network Protocols"; description = "ASCII Header Generator for Network Protocols";
homepage = "https://github.com/luismartingarcia/protocol"; homepage = "https://github.com/luismartingarcia/protocol";

View File

@ -7,7 +7,7 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "proxmove"; pname = "proxmove";
version = "1.2"; version = "1.2";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ossobv"; owner = "ossobv";
@ -16,7 +16,11 @@ python3.pkgs.buildPythonApplication rec {
hash = "sha256-8xzsmQsogoMrdpf8+mVZRWPGQt9BO0dBT0aKt7ygUe4="; hash = "sha256-8xzsmQsogoMrdpf8+mVZRWPGQt9BO0dBT0aKt7ygUe4=";
}; };
propagatedBuildInputs = with python3.pkgs; [ build-system = with python3.pkgs; [
setuptools
];
dependencies = with python3.pkgs; [
proxmoxer proxmoxer
]; ];

View File

@ -7,7 +7,7 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "ps_mem"; pname = "ps_mem";
version = "3.14"; version = "3.14";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pixelb"; owner = "pixelb";
@ -16,6 +16,10 @@ python3Packages.buildPythonApplication rec {
hash = "sha256-jCfPtPSky/QFk9Xo/tq3W7609Pie1yLC4iS4dqjCa+E="; hash = "sha256-jCfPtPSky/QFk9Xo/tq3W7609Pie1yLC4iS4dqjCa+E=";
}; };
build-system = with python3Packages; [ setuptools ];
pythonImportsCheck = [ "ps_mem" ];
meta = { meta = {
description = "Utility to accurately report the in core memory usage for a program"; description = "Utility to accurately report the in core memory usage for a program";
homepage = "https://github.com/pixelb/ps_mem"; homepage = "https://github.com/pixelb/ps_mem";

View File

@ -12,7 +12,7 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "pulsemeeter"; pname = "pulsemeeter";
version = "1.2.14"; version = "1.2.14";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "theRealCarneiro"; owner = "theRealCarneiro";
@ -47,6 +47,8 @@ python3Packages.buildPythonApplication rec {
dontWrapGApps = true; dontWrapGApps = true;
pythonImportsCheck = [ "pulsemeeter" ];
passthru.tests.version = callPackage ./version-test.nix { inherit version; }; passthru.tests.version = callPackage ./version-test.nix { inherit version; };
meta = { meta = {

View File

@ -11,7 +11,7 @@ in
buildPythonApplication rec { buildPythonApplication rec {
pname = "pwgen-secure"; pname = "pwgen-secure";
version = "0.9.1"; version = "0.9.1";
format = "setuptools"; pyproject = true;
# it needs `secrets` which was introduced in 3.6 # it needs `secrets` which was introduced in 3.6
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
@ -35,7 +35,9 @@ buildPythonApplication rec {
--replace-fail "os.path.join(path, 'words.txt')" "os.path.join('$shareDir', 'words.txt')" --replace-fail "os.path.join(path, 'words.txt')" "os.path.join('$shareDir', 'words.txt')"
''; '';
propagatedBuildInputs = with python3Packages; [ docopt ]; build-system = with python3Packages; [ setuptools ];
dependencies = with python3Packages; [ docopt ];
postInstall = '' postInstall = ''
install -Dm555 spwgen.py $out/bin/spwgen install -Dm555 spwgen.py $out/bin/spwgen
@ -45,6 +47,8 @@ buildPythonApplication rec {
# there are no checks # there are no checks
doCheck = false; doCheck = false;
pythonImportsCheck = [ "pwgen_secure" ];
meta = with lib; { meta = with lib; {
description = "Secure password generation library to replace pwgen"; description = "Secure password generation library to replace pwgen";
homepage = "https://github.com/mjmunger/pwgen_secure/"; homepage = "https://github.com/mjmunger/pwgen_secure/";

View File

@ -49,7 +49,7 @@ in
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "pyca"; pname = "pyca";
version = "4.5"; version = "4.5";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "opencast"; owner = "opencast";
@ -58,7 +58,9 @@ python3.pkgs.buildPythonApplication rec {
sha256 = "sha256-cTkWkOmgxJZlddqaSYKva2wih4Mvsdrd7LD4NggxKQk="; sha256 = "sha256-cTkWkOmgxJZlddqaSYKva2wih4Mvsdrd7LD4NggxKQk=";
}; };
propagatedBuildInputs = with python.pkgs; [ build-system = with python3.pkgs; [ setuptools ];
dependencies = with python.pkgs; [
pycurl pycurl
python-dateutil python-dateutil
configobj configobj
@ -73,6 +75,8 @@ python3.pkgs.buildPythonApplication rec {
sed -i -e 's#static_folder=.*#static_folder="${frontend}/static")#' pyca/ui/__init__.py sed -i -e 's#static_folder=.*#static_folder="${frontend}/static")#' pyca/ui/__init__.py
''; '';
pythonImportsCheck = [ "pyca" ];
passthru = { passthru = {
inherit frontend; inherit frontend;
}; };

View File

@ -9,7 +9,7 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "pyamlboot"; pname = "pyamlboot";
version = "1.0.0"; version = "1.0.0";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "superna9999"; owner = "superna9999";
@ -24,10 +24,11 @@ python3Packages.buildPythonApplication rec {
dependencies = with python3Packages; [ dependencies = with python3Packages; [
pyusb pyusb
wheel setuptools # pkg_resources is imported during runtime
setuptools
]; ];
pythonImportsCheck = [ "pyamlboot" ];
passthru.tests.version = testers.testVersion { passthru.tests.version = testers.testVersion {
package = pyamlboot; package = pyamlboot;
command = "boot.py -v"; command = "boot.py -v";

View File

@ -14,7 +14,7 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "pychess"; pname = "pychess";
version = "1.0.5"; version = "1.0.5";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pychess"; owner = "pychess";
@ -36,7 +36,9 @@ python3Packages.buildPythonApplication rec {
gtksourceview gtksourceview
]; ];
propagatedBuildInputs = with python3Packages; [ build-system = with python3Packages; [ setuptools ];
dependencies = with python3Packages; [
pygobject3 pygobject3
pycairo pycairo
sqlalchemy sqlalchemy
@ -65,6 +67,8 @@ python3Packages.buildPythonApplication rec {
# No tests available. # No tests available.
doCheck = false; doCheck = false;
pythonImportsCheck = [ "pychess" ];
meta = { meta = {
description = "Advanced GTK chess client written in Python"; description = "Advanced GTK chess client written in Python";
homepage = "https://pychess.github.io/"; homepage = "https://pychess.github.io/";

View File

@ -7,13 +7,15 @@
python3Packages.buildPythonPackage rec { python3Packages.buildPythonPackage rec {
pname = "pydf"; pname = "pydf";
version = "12"; version = "12";
format = "setuptools"; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "7f47a7c3abfceb1ac04fc009ded538df1ae449c31203962a1471a4eb3bf21439"; sha256 = "7f47a7c3abfceb1ac04fc009ded538df1ae449c31203962a1471a4eb3bf21439";
}; };
build-system = with python3Packages; [ setuptools ];
postInstall = '' postInstall = ''
mkdir -p $out/share/man/man1 $out/share/pydf mkdir -p $out/share/man/man1 $out/share/pydf
install -t $out/share/pydf -m 444 pydfrc install -t $out/share/pydf -m 444 pydfrc

View File

@ -9,7 +9,7 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "pykickstart"; pname = "pykickstart";
version = "3.65"; version = "3.65";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pykickstart"; owner = "pykickstart";
@ -35,6 +35,8 @@ python3Packages.buildPythonApplication rec {
# Can't package it and not really necessary so disable them. # Can't package it and not really necessary so disable them.
doCheck = false; doCheck = false;
pythonImportsCheck = [ "pykickstart" ];
meta = { meta = {
description = "Python package to interact with Kickstart files commonly found in the RPM world"; description = "Python package to interact with Kickstart files commonly found in the RPM world";
homepage = "https://github.com/pykickstart/pykickstart"; homepage = "https://github.com/pykickstart/pykickstart";

View File

@ -7,7 +7,7 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "pylode"; pname = "pylode";
version = "2.13.3"; version = "2.13.3";
format = "setuptools"; pyproject = true;
disabled = python3.pythonOlder "3.6"; disabled = python3.pythonOlder "3.6";
@ -18,7 +18,9 @@ python3.pkgs.buildPythonApplication rec {
sha256 = "sha256-AtqkxnpEL+580S/iKCaRcsQO6LLYhkJxyNx6fi3atbE="; sha256 = "sha256-AtqkxnpEL+580S/iKCaRcsQO6LLYhkJxyNx6fi3atbE=";
}; };
propagatedBuildInputs = with python3.pkgs; [ build-system = with python3.pkgs; [ setuptools ];
dependencies = with python3.pkgs; [
beautifulsoup4 beautifulsoup4
falcon falcon
jinja2 jinja2

View File

@ -16,7 +16,7 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "pympress"; pname = "pympress";
version = "1.8.6"; version = "1.8.6";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cimbali"; owner = "cimbali";
@ -64,6 +64,8 @@ python3Packages.buildPythonApplication rec {
doCheck = false; # there are no tests doCheck = false; # there are no tests
pythonImportsCheck = [ "pympress" ];
meta = { meta = {
description = "Simple yet powerful PDF reader designed for dual-screen presentations"; description = "Simple yet powerful PDF reader designed for dual-screen presentations";
mainProgram = "pympress"; mainProgram = "pympress";

View File

@ -8,7 +8,7 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "pyradio"; pname = "pyradio";
version = "0.9.3.11.15"; version = "0.9.3.11.15";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "coderholic"; owner = "coderholic";
@ -21,7 +21,9 @@ python3Packages.buildPythonApplication rec {
installShellFiles installShellFiles
]; ];
propagatedBuildInputs = with python3Packages; [ build-system = with python3Packages; [ setuptools ];
dependencies = with python3Packages; [
dnspython dnspython
netifaces netifaces
psutil psutil

View File

@ -8,7 +8,7 @@ let
pgdbconn = python3Packages.buildPythonPackage rec { pgdbconn = python3Packages.buildPythonPackage rec {
pname = "pgdbconn"; pname = "pgdbconn";
version = "0.8.0"; version = "0.8.0";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "perseas"; owner = "perseas";
@ -17,12 +17,13 @@ let
sha256 = "09r4idk5kmqi3yig7ip61r6js8blnmac5n4q32cdcbp1rcwzdn6z"; sha256 = "09r4idk5kmqi3yig7ip61r6js8blnmac5n4q32cdcbp1rcwzdn6z";
}; };
build-system = with python3Packages; [ setuptools ];
# The tests are impure (they try to access a PostgreSQL server) # The tests are impure (they try to access a PostgreSQL server)
doCheck = false; doCheck = false;
propagatedBuildInputs = with python3Packages; [ dependencies = with python3Packages; [
psycopg2 psycopg2
pytest
]; ];
}; };
in in
@ -30,7 +31,7 @@ in
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "pyrseas"; pname = "pyrseas";
version = "0.9.1"; version = "0.9.1";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "perseas"; owner = "perseas";
@ -39,9 +40,10 @@ python3Packages.buildPythonApplication rec {
sha256 = "sha256-+MxnxvbLMxK1Ak+qKpKe3GHbzzC+XHO0eR7rl4ON9H4="; sha256 = "sha256-+MxnxvbLMxK1Ak+qKpKe3GHbzzC+XHO0eR7rl4ON9H4=";
}; };
propagatedBuildInputs = with python3Packages; [ build-system = with python3Packages; [ setuptools ];
dependencies = with python3Packages; [
psycopg2 psycopg2
pytest
pyyaml pyyaml
pgdbconn pgdbconn
]; ];
@ -49,6 +51,8 @@ python3Packages.buildPythonApplication rec {
# The tests are impure (they try to access a PostgreSQL server) # The tests are impure (they try to access a PostgreSQL server)
doCheck = false; doCheck = false;
pythonImportsCheck = [ "pyrseas" ];
meta = { meta = {
description = "Declarative language to describe PostgreSQL databases"; description = "Declarative language to describe PostgreSQL databases";
homepage = "https://perseas.github.io/"; homepage = "https://perseas.github.io/";

View File

@ -32,7 +32,7 @@ in
python.pkgs.buildPythonApplication rec { python.pkgs.buildPythonApplication rec {
pname = "pytrainer"; pname = "pytrainer";
version = "2.2.1"; version = "2.2.1";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pytrainer"; owner = "pytrainer";
@ -41,12 +41,13 @@ python.pkgs.buildPythonApplication rec {
hash = "sha256-t61vHVTKN5KsjrgbhzljB7UZdRask7qfYISd+++QbV0="; hash = "sha256-t61vHVTKN5KsjrgbhzljB7UZdRask7qfYISd+++QbV0=";
}; };
propagatedBuildInputs = with python.pkgs; [ build-system = with python3.pkgs; [ setuptools ];
dependencies = with python.pkgs; [
sqlalchemy sqlalchemy
python-dateutil python-dateutil
matplotlib matplotlib
lxml lxml
setuptools
requests requests
gdal gdal
]; ];
@ -88,7 +89,7 @@ python.pkgs.buildPythonApplication rec {
postPatch = '' postPatch = ''
substituteInPlace pytrainer/platform.py \ substituteInPlace pytrainer/platform.py \
--replace 'sys.prefix' "\"$out\"" --replace-fail 'sys.prefix' "\"$out\""
''; '';
checkPhase = '' checkPhase = ''

View File

@ -6,7 +6,7 @@
python3.pkgs.buildPythonApplication { python3.pkgs.buildPythonApplication {
pname = "pywalfox-native"; pname = "pywalfox-native";
version = "2.7.4"; version = "2.7.4";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Frewacom"; owner = "Frewacom";
@ -15,6 +15,8 @@ python3.pkgs.buildPythonApplication {
hash = "sha256-i1DgdYmNVvG+mZiFiBmVHsQnFvfDFOFTGf0GEy81lpE="; hash = "sha256-i1DgdYmNVvG+mZiFiBmVHsQnFvfDFOFTGf0GEy81lpE=";
}; };
build-system = with python3.pkgs; [ setuptools ];
pythonImportsCheck = [ "pywalfox" ]; pythonImportsCheck = [ "pywalfox" ];
meta = with lib; { meta = with lib; {

View File

@ -7,7 +7,7 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "q-text-as-data"; pname = "q-text-as-data";
version = "2.0.19"; version = "2.0.19";
format = "setuptools"; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "harelba"; owner = "harelba";
@ -16,8 +16,11 @@ python3Packages.buildPythonApplication rec {
sha256 = "18cwyfjgxxavclyd08bmb943c8bvzp1gnqp4klkq5xlgqwivr4sv"; sha256 = "18cwyfjgxxavclyd08bmb943c8bvzp1gnqp4klkq5xlgqwivr4sv";
}; };
propagatedBuildInputs = with python3Packages; [ build-system = with python3Packages; [
setuptools setuptools
];
dependencies = with python3Packages; [
six six
]; ];
@ -28,7 +31,7 @@ python3Packages.buildPythonApplication rec {
rm bin/qtextasdata.py rm bin/qtextasdata.py
# not considered good practice pinning in install_requires # not considered good practice pinning in install_requires
substituteInPlace setup.py --replace 'six==' 'six>=' substituteInPlace setup.py --replace-fail 'six==' 'six>='
''; '';
meta = with lib; { meta = with lib; {

View File

@ -7,13 +7,13 @@
(qbittorrent.override { inherit guiSupport; }).overrideAttrs (old: rec { (qbittorrent.override { inherit guiSupport; }).overrideAttrs (old: rec {
pname = "qbittorrent-enhanced" + lib.optionalString (!guiSupport) "-nox"; pname = "qbittorrent-enhanced" + lib.optionalString (!guiSupport) "-nox";
version = "5.1.0.11"; version = "5.1.2.10";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "c0re100"; owner = "c0re100";
repo = "qBittorrent-Enhanced-Edition"; repo = "qBittorrent-Enhanced-Edition";
rev = "release-${version}"; rev = "release-${version}";
hash = "sha256-LY79Y7sG6EHGOh1hRujAOMRK3MKSAblJ+FFuGlj13iQ="; hash = "sha256-Q3gipRgZCzihKUQZZmETT65AUSEUfgj9dFxZFybq258=";
}; };
meta = old.meta // { meta = old.meta // {

View File

@ -10,7 +10,7 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "quisk"; pname = "quisk";
version = "4.2.42"; version = "4.2.42";
format = "setuptools"; pyproject = true;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
@ -23,13 +23,19 @@ python3.pkgs.buildPythonApplication rec {
pulseaudio pulseaudio
]; ];
propagatedBuildInputs = with python3.pkgs; [ build-system = with python3.pkgs; [
setuptools
];
dependencies = with python3.pkgs; [
pyusb pyusb
wxpython wxpython
]; ];
doCheck = false; doCheck = false;
pythonImportsCheck = [ "quisk" ];
meta = with lib; { meta = with lib; {
description = "SDR transceiver for radios that use the Hermes protocol"; description = "SDR transceiver for radios that use the Hermes protocol";
longDescription = '' longDescription = ''

View File

@ -6,16 +6,16 @@
buildGoModule rec { buildGoModule rec {
pname = "r53-ddns"; pname = "r53-ddns";
version = "1.1.0"; version = "1.3.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fleaz"; owner = "fleaz";
repo = "r53-ddns"; repo = "r53-ddns";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-KJAPhSGaC3upWLfo2eeSD3Vit9Blmbol7s8y3f849N4="; sha256 = "sha256-+vJrcRxckAISYjab6kVT2mpChra1D3NflOqNWCch15I=";
}; };
vendorHash = "sha256-KkyMd94cejWkgg/RJudy1lm/M3lsEJXFGqVTzGIX3qM="; vendorHash = "sha256-ImV/jxCYIWObN+jCSbXhuzR4TuRc/EgQ8SIV6x+wEpA=";
meta = with lib; { meta = with lib; {
license = licenses.mit; license = licenses.mit;

View File

@ -7,14 +7,14 @@
python3.pkgs.buildPythonApplication { python3.pkgs.buildPythonApplication {
pname = "renode-dts2repl"; pname = "renode-dts2repl";
version = "0-unstable-2025-06-16"; version = "0-unstable-2025-07-08";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "antmicro"; owner = "antmicro";
repo = "dts2repl"; repo = "dts2repl";
rev = "65232f0be8d171650e050690ade02c50755241c4"; rev = "9c75757b1de9e1bd93d1b1de5d516a65c481b026";
hash = "sha256-v/RzEXRie3O37DVVY7bX09rnXMLH7L99o8sWPOPnDOw="; hash = "sha256-m3v/HQKDHhfmk7vjbSGxZiyAK2/5b8FVszJjNDHQj2Y=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -30,25 +30,14 @@
ninja, ninja,
opencv4, opencv4,
pkg-config, pkg-config,
qt5compat, qt6,
qtcharts, qt6Packages,
qtdeclarative,
qtlocation,
qtmultimedia,
qtscxml,
qtserialport,
qtspeech,
qttools,
qtwayland,
qtwebsockets,
qtwebengine,
rtl-sdr, rtl-sdr,
serialdv, serialdv,
sdrplay, sdrplay,
sgp4, sgp4,
soapysdr-with-plugins, soapysdr-with-plugins,
uhd, uhd,
wrapQtAppsHook,
zlib, zlib,
withSDRplay ? false, withSDRplay ? false,
}: }:
@ -60,7 +49,7 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "f4exb"; owner = "f4exb";
repo = "sdrangel"; repo = "sdrangel";
rev = "v${finalAttrs.version}"; tag = "v${finalAttrs.version}";
hash = "sha256-ymDKHGJNoCOMa1zzFvjTzFa34wP1+iKSfJZZi7Sk/GM="; hash = "sha256-ymDKHGJNoCOMa1zzFvjTzFa34wP1+iKSfJZZi7Sk/GM=";
}; };
@ -68,7 +57,7 @@ stdenv.mkDerivation (finalAttrs: {
cmake cmake
ninja ninja
pkg-config pkg-config
wrapQtAppsHook qt6.wrapQtAppsHook
]; ];
buildInputs = buildInputs =
@ -96,17 +85,17 @@ stdenv.mkDerivation (finalAttrs: {
limesuite limesuite
mbelib mbelib
opencv4 opencv4
qt5compat qt6Packages.qt5compat
qtcharts qt6Packages.qtcharts
qtdeclarative qt6Packages.qtdeclarative
qtlocation qt6Packages.qtlocation
qtmultimedia qt6Packages.qtmultimedia
qtscxml qt6Packages.qtscxml
qtserialport qt6Packages.qtserialport
qtspeech qt6Packages.qtspeech
qttools qt6Packages.qttools
qtwebsockets qt6Packages.qtwebsockets
qtwebengine qt6Packages.qtwebengine
rtl-sdr rtl-sdr
serialdv serialdv
sgp4 sgp4
@ -114,7 +103,7 @@ stdenv.mkDerivation (finalAttrs: {
uhd uhd
zlib zlib
] ]
++ lib.optionals stdenv.hostPlatform.isLinux [ qtwayland ] ++ lib.optionals stdenv.hostPlatform.isLinux [ qt6Packages.qtwayland ]
++ lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_12 ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_12 ]
++ lib.optionals withSDRplay [ sdrplay ]; ++ lib.optionals withSDRplay [ sdrplay ];

Some files were not shown because too many files have changed in this diff Show More