Refactor Nix package definitions for webcomix, colordle, dosage, protonup-qt, qbit-manage, and steam by removing unused variables, improving formatting, and ensuring consistency in dependency handling. Notable changes include the removal of unnecessary checks and whitespace adjustments.
This commit is contained in:
@@ -39,11 +39,11 @@ buildPythonApplication rec {
|
|||||||
click
|
click
|
||||||
tqdm
|
tqdm
|
||||||
scrapy
|
scrapy
|
||||||
(scrapy-splash.overridePythonAttrs (oldAttrs: {
|
(scrapy-splash.overridePythonAttrs (_oldAttrs: {
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
nativeCheckInputs = [ ];
|
nativeCheckInputs = [ ];
|
||||||
}))
|
}))
|
||||||
(scrapy-fake-useragent.overridePythonAttrs (oldAttrs: {
|
(scrapy-fake-useragent.overridePythonAttrs (_oldAttrs: {
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
nativeCheckInputs = [ ];
|
nativeCheckInputs = [ ];
|
||||||
checkPhase = "";
|
checkPhase = "";
|
||||||
|
|||||||
@@ -28,10 +28,12 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [
|
buildInputs = [
|
||||||
gtk4
|
gtk4
|
||||||
libadwaita
|
libadwaita
|
||||||
(python3.withPackages (ps: with ps; [
|
(python3.withPackages (
|
||||||
pygobject3
|
ps: with ps; [
|
||||||
pycairo
|
pygobject3
|
||||||
]))
|
pycairo
|
||||||
|
]
|
||||||
|
))
|
||||||
];
|
];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
@@ -45,7 +47,14 @@ stdenv.mkDerivation rec {
|
|||||||
cp net.krafting.HexColordle.metainfo.xml $out/share/metainfo/
|
cp net.krafting.HexColordle.metainfo.xml $out/share/metainfo/
|
||||||
|
|
||||||
# Create wrapper for the main Python file
|
# Create wrapper for the main Python file
|
||||||
makeWrapper ${python3.withPackages (ps: with ps; [pygobject3 pycairo])}/bin/python3 $out/bin/hexcolordle-gtk \
|
makeWrapper ${
|
||||||
|
python3.withPackages (
|
||||||
|
ps: with ps; [
|
||||||
|
pygobject3
|
||||||
|
pycairo
|
||||||
|
]
|
||||||
|
)
|
||||||
|
}/bin/python3 $out/bin/hexcolordle-gtk \
|
||||||
--add-flags "$out/share/hexcolordle-gtk/HexColordle.py" \
|
--add-flags "$out/share/hexcolordle-gtk/HexColordle.py" \
|
||||||
--prefix PYTHONPATH : "$out/share/hexcolordle-gtk"
|
--prefix PYTHONPATH : "$out/share/hexcolordle-gtk"
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,6 @@
|
|||||||
gtk4,
|
gtk4,
|
||||||
libadwaita,
|
libadwaita,
|
||||||
wrapGAppsHook4,
|
wrapGAppsHook4,
|
||||||
makeWrapper,
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
lib,
|
lib,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
callPackage,
|
|
||||||
setuptools,
|
setuptools,
|
||||||
wheel,
|
wheel,
|
||||||
six,
|
six,
|
||||||
|
|||||||
Reference in New Issue
Block a user