gfn-electron: 2.1.3 -> 2.2.0

Diff: https://github.com/hmlendea/gfn-electron/compare/refs/tags/v2.1.3...refs/tags/v2.2.0
This commit is contained in:
emaryn 2025-04-25 20:12:30 +08:00
parent b8c6cc2cd5
commit 3910beead2

View file

@ -5,9 +5,10 @@
electron,
nix-update-script,
makeBinaryWrapper,
python3,
}:
let
version = "2.1.3";
version = "2.2.0";
in
buildNpmPackage {
pname = "gfn-electron";
@ -17,12 +18,18 @@ buildNpmPackage {
owner = "hmlendea";
repo = "gfn-electron";
tag = "v${version}";
hash = "sha256-o5p7INuyrs4Fw0uoP9f3UpqpmJzHIFSBCBTTU2NfUMQ=";
hash = "sha256-DwrNCgBp0CD+HYXRMDsu0aKEKzG7k/tk7oATJc30DlE=";
};
npmDepsHash = "sha256-xp9uZAMrsPut91tQD3XfeENr7fXFg2bE89xShG1AcZk=";
npmDepsHash = "sha256-2v5qTTGhdG1EEK8v50LLYz5jE/36lBm1PKQl6HfqhCU=";
nativeBuildInputs = [ makeBinaryWrapper ];
nativeBuildInputs = [
makeBinaryWrapper
# node_modules/node-gyp/gyp/pylib/gyp/input.py
# from distutils.version import StrictVersion
# ModuleNotFoundError: No module named 'distutils'
(python3.withPackages (ps: with ps; [ setuptools ]))
];
env.ELECTRON_SKIP_BINARY_DOWNLOAD = true;