Merge pull request #196380 from zendo/update-warp

warp: 0.2.1 -> 0.3.1
This commit is contained in:
Bobby Rong 2022-11-04 09:33:50 +08:00 committed by GitHub
commit 32fe0d14d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@
, pkg-config
, python3
, rustPlatform
, wrapGAppsHook
, wrapGAppsHook4
, glib
, gtk4
, libadwaita
@ -17,14 +17,14 @@
stdenv.mkDerivation rec {
pname = "warp";
version = "0.2.1";
version = "0.3.1";
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "World";
repo = "warp";
repo = pname;
rev = "v${version}";
hash = "sha256-ajz450ix68TDkhyAZd1IgZA/jUnXULrYZOSdcoOL+S0=";
hash = "sha256-0zjtaF0RwI7Sj2D5vRaiBJI+Bp/F17VO9ywMRqZyqxI=";
};
postPatch = ''
@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
hash = "sha256-08xbd2YmJw2NTrxBrnJZMV2VvX6V0eX+fxbEEWFoC9c=";
hash = "sha256-HotArxXfmT6Gw6ZZZQ4X6bTx0EFb6vZLbXxhddmGID8=";
};
nativeBuildInputs = [
@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
ninja
pkg-config
python3
wrapGAppsHook
wrapGAppsHook4
] ++ (with rustPlatform; [
cargoSetupHook
rust.cargo