1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-25 02:26:19 +03:00

gale: 1.5.12 -> 1.7.1

This commit is contained in:
TomaSajt 2025-05-23 01:29:16 +02:00
parent 10d27a4b79
commit 2ec67b9e81
No known key found for this signature in database
GPG key ID: F011163C050122A1

View file

@ -1,6 +1,5 @@
{ {
lib, lib,
stdenv,
rustPlatform, rustPlatform,
fetchFromGitHub, fetchFromGitHub,
@ -19,15 +18,15 @@
webkitgtk_4_1, webkitgtk_4_1,
}: }:
stdenv.mkDerivation (finalAttrs: { rustPlatform.buildRustPackage (finalAttrs: {
pname = "gale"; pname = "gale";
version = "1.5.12"; version = "1.7.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Kesomannen"; owner = "Kesomannen";
repo = "gale"; repo = "gale";
tag = finalAttrs.version; tag = finalAttrs.version;
hash = "sha256-5iJ04/q/emPwG0ILurFx2gNlXkZrfP2D6xv25AIlhfc="; hash = "sha256-OaUpyG+XdP7AIA55enPf6/viBGBBQVuNi2QxgD5EVNc=";
}; };
postPatch = '' postPatch = ''
@ -35,33 +34,22 @@ stdenv.mkDerivation (finalAttrs: {
''; '';
npmDeps = fetchNpmDeps { npmDeps = fetchNpmDeps {
name = "${finalAttrs.pname}-${finalAttrs.version}-npm-deps"; name = "gale-${finalAttrs.version}-npm-deps";
inherit (finalAttrs) src; inherit (finalAttrs) src;
hash = "sha256-yaPUNtlb2vMwK42u+3/rViGx6YzhYxRDJylPu++tbNs="; hash = "sha256-yaPUNtlb2vMwK42u+3/rViGx6YzhYxRDJylPu++tbNs=";
}; };
cargoDeps = rustPlatform.fetchCargoVendor {
inherit (finalAttrs)
pname
version
src
cargoRoot
;
hash = "sha256-GGH5kQlnYIlKbTAKbF275mH4J9BcbcBHSdzP7RgfDwk=";
};
cargoRoot = "src-tauri"; cargoRoot = "src-tauri";
buildAndTestSubdir = finalAttrs.cargoRoot; buildAndTestSubdir = finalAttrs.cargoRoot;
cargoHash = "sha256-v0/A4jUq5t61KB7NLwvsl6wR7N0UUbdVCk7nFZVTOi8=";
nativeBuildInputs = [ nativeBuildInputs = [
jq jq
moreutils moreutils
npmHooks.npmConfigHook npmHooks.npmConfigHook
nodejs nodejs
rustPlatform.cargoSetupHook
cargo-tauri.hook cargo-tauri.hook
rustPlatform.cargoCheckHook
pkg-config pkg-config
wrapGAppsHook3 wrapGAppsHook3
]; ];