packages/zapzap: cleanup
This commit is contained in:
parent
4cb8d8ba39
commit
c791de683b
@ -111,7 +111,7 @@
|
|||||||
++ [
|
++ [
|
||||||
inputs.swaysw.packages.x86_64-linux.swaysw
|
inputs.swaysw.packages.x86_64-linux.swaysw
|
||||||
inputs.nvim.packages.x86_64-linux.nvim
|
inputs.nvim.packages.x86_64-linux.nvim
|
||||||
(import ../packages/zapzap/default.nix {inherit pkgs;})
|
(pkgs.callPackage ../packages/zapzap/default.nix {})
|
||||||
(pkgs.callPackage ../packages/viber/default.nix {})
|
(pkgs.callPackage ../packages/viber/default.nix {})
|
||||||
(pkgs.callPackage ../packages/bubblewrap/default.nix {})
|
(pkgs.callPackage ../packages/bubblewrap/default.nix {})
|
||||||
(pkgs.callPackage ../packages/stm32cubemx/default.nix {})
|
(pkgs.callPackage ../packages/stm32cubemx/default.nix {})
|
||||||
|
@ -1,16 +1,19 @@
|
|||||||
{ pkgs }:
|
{ fetchurl
|
||||||
|
, makeWrapper
|
||||||
|
, python3Packages
|
||||||
|
, qt6
|
||||||
|
}:
|
||||||
|
|
||||||
pkgs.python3Packages.buildPythonPackage {
|
python3Packages.buildPythonPackage rec {
|
||||||
name = "zapzap";
|
name = "zapzap";
|
||||||
src = pkgs.fetchFromGitHub {
|
version = "5.1-2";
|
||||||
owner = "zapzap-linux";
|
src = fetchurl {
|
||||||
repo = "zapzap";
|
url = "https://github.com/zapzap-linux/zapzap/archive/refs/tags/${version}.tar.gz";
|
||||||
rev = "22b237987a69c392d1fa7bea5c9495111c3efd9a";
|
hash = "sha256-r5NhdXQ4Tl/wFrD1+sxFS10Z3lAcHcax5bi43Qa3ZI0=";
|
||||||
hash = "sha256-VrpW7RYd91/MFFRfIzuFmdtykHfW4c/ky7q7CcS/FYE=";
|
|
||||||
};
|
};
|
||||||
dontWrapQtApps = true;
|
dontWrapQtApps = true;
|
||||||
propagatedBuildInputs = with pkgs.python3Packages; [ pyqt6-webengine qt6.qtwayland qt6.qtsvg ];
|
propagatedBuildInputs = with python3Packages; [ pyqt6-webengine qt6.qtwayland qt6.qtsvg ];
|
||||||
nativeBuildInputs = with pkgs; [ qt6.wrapQtAppsHook makeWrapper ];
|
nativeBuildInputs = [ qt6.wrapQtAppsHook makeWrapper ];
|
||||||
env = {
|
env = {
|
||||||
HOME = "/tmp";
|
HOME = "/tmp";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user