bugfix: builtins.path

This commit is contained in:
Danilo Reyes 2024-11-09 16:43:30 -06:00
parent 2c377b9664
commit b0ac83658e
5 changed files with 16 additions and 14 deletions

View File

@ -20,17 +20,19 @@ let
}; };
qbit_manage_env = pkgs.python3.withPackages ( qbit_manage_env = pkgs.python3.withPackages (
ps: ps:
[ {
ps.croniter inherit (ps)
ps.gitpython croniter
ps.humanize gitpython
ps.pytimeparse2 humanize
ps.qbittorrent-api pytimeparse2
ps.requests qbittorrent-api
ps.retrying requests
ps.ruamel-yaml retrying
ps.schedule ruamel-yaml
] schedule
;
}
++ [ bencodepy ] ++ [ bencodepy ]
); );
in in

View File

@ -23,6 +23,7 @@
version = "0.4.1"; version = "0.4.1";
in in
{ {
inherit pname version;
src = pkgs.python3Packages.fetchPypi { src = pkgs.python3Packages.fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-7eVqbLpMHS1sBw2vYS4cTtyVdnnknGtEI8190VlXflk="; sha256 = "sha256-7eVqbLpMHS1sBw2vYS4cTtyVdnnknGtEI8190VlXflk=";

View File

@ -1,9 +1,9 @@
{ {
pname, pname,
version, version,
src,
branch, branch,
compat-list, compat-list,
src,
lib, lib,
stdenv, stdenv,
cmake, cmake,

View File

@ -10,7 +10,7 @@ let
in in
python3Packages.buildPythonApplication { python3Packages.buildPythonApplication {
inherit pname version; inherit pname version;
src = { src = builtins.path {
path = ../../scripts/download/.; path = ../../scripts/download/.;
name = "${pname}-${version}"; name = "${pname}-${version}";
}; };

View File

@ -14,7 +14,6 @@
let let
filepicker = callPackage ./filepicker.nix { }; filepicker = callPackage ./filepicker.nix { };
in in
buildNpmPackage ( buildNpmPackage (
let let