best practices: get rid of with pkgs;
This commit is contained in:
@@ -9,11 +9,13 @@ python3Packages.buildPythonApplication {
|
||||
version = "2.5";
|
||||
src = ../../scripts/download/.;
|
||||
build-system = [ python3Packages.setuptools ];
|
||||
dependencies = with python3Packages; [
|
||||
pyyaml
|
||||
types-pyyaml
|
||||
yt-dlp
|
||||
];
|
||||
dependencies = builtins.attrValues {
|
||||
inherit (python3Packages)
|
||||
pyyaml
|
||||
types-pyyaml
|
||||
yt-dlp
|
||||
;
|
||||
};
|
||||
propagatedBuildInputs = [
|
||||
gallery-dl
|
||||
ffmpeg
|
||||
|
||||
@@ -168,7 +168,7 @@ let
|
||||
}
|
||||
);
|
||||
};
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
homepage = "https://polymc.org/";
|
||||
downloadPage = "https://polymc.org/download/";
|
||||
changelog = "https://github.com/PolyMC/PolyMC/releases";
|
||||
@@ -179,7 +179,7 @@ let
|
||||
their associated options with a simple interface.
|
||||
'';
|
||||
platforms = [ "x86_64-linux" ];
|
||||
license = licenses.gpl3Only;
|
||||
license = lib.licenses.gpl3Only;
|
||||
};
|
||||
}
|
||||
);
|
||||
|
||||
@@ -66,11 +66,11 @@ buildNpmPackage (
|
||||
--add-flags $out/opt/vdhcoapp/src/main.js
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Companion application for the Video DownloadHelper browser add-on";
|
||||
homepage = "https://www.downloadhelper.net/";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ wolfangaukang ];
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = [ lib.maintainers.wolfangaukang ];
|
||||
mainProgram = "vdhcoapp";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -33,12 +33,12 @@ rustPlatform.buildRustPackage (
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "File picker used by VDHCoApp";
|
||||
homepage = "https://github.com/paulrouget/static-filepicker";
|
||||
license = licenses.gpl2;
|
||||
license = lib.licenses.gpl2;
|
||||
mainProgram = "filepicker";
|
||||
maintainers = with maintainers; [ hannesgith ];
|
||||
maintainers = [ lib.maintainers.hannesgith ];
|
||||
};
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user