sane-scripts: lift the transmission runtime dependency into sane-lib.bt

This commit is contained in:
Colin 2023-06-22 22:29:52 +00:00
parent 6249f7553c
commit 21a060d856

View File

@ -2,6 +2,7 @@
, python3Packages , python3Packages
, static-nix-shell , static-nix-shell
, symlinkJoin , symlinkJoin
, transmission
}: }:
let let
@ -22,6 +23,7 @@ let
version = "0.1.0"; version = "0.1.0";
format = "setuptools"; format = "setuptools";
src = ./src/lib/ssdp; src = ./src/lib/ssdp;
propagatedBuildInputs = [ transmission ];
pythonImportChecks = [ pythonImportChecks = [
"sane_ssdp" "sane_ssdp"
]; ];
@ -44,13 +46,11 @@ let
bt-add = static-nix-shell.mkPython3Bin { bt-add = static-nix-shell.mkPython3Bin {
pname = "sane-bt-add"; pname = "sane-bt-add";
src = ./src; src = ./src;
pkgs = [ "transmission" ];
pyPkgs = [ "sane-lib.bt" ]; pyPkgs = [ "sane-lib.bt" ];
}; };
bt-rm = static-nix-shell.mkPython3Bin { bt-rm = static-nix-shell.mkPython3Bin {
pname = "sane-bt-rm"; pname = "sane-bt-rm";
src = ./src; src = ./src;
pkgs = [ "transmission" ];
pyPkgs = [ "sane-lib.bt" ]; pyPkgs = [ "sane-lib.bt" ];
}; };
bt-search = static-nix-shell.mkPython3Bin { bt-search = static-nix-shell.mkPython3Bin {
@ -61,7 +61,6 @@ let
bt-show = static-nix-shell.mkPython3Bin { bt-show = static-nix-shell.mkPython3Bin {
pname = "sane-bt-show"; pname = "sane-bt-show";
src = ./src; src = ./src;
pkgs = [ "transmission" ];
pyPkgs = [ "sane-lib.bt" ]; pyPkgs = [ "sane-lib.bt" ];
}; };
deadlines = static-nix-shell.mkBash { deadlines = static-nix-shell.mkBash {