Skip to content

Commit

Permalink
Merge pull request #298750 from dotlambda/warp
Browse files Browse the repository at this point in the history
warp: 0.6.2 -> 0.7.0
  • Loading branch information
dotlambda committed May 12, 2024
2 parents 26335ef + 4ed0c5c commit 25e9a6d
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions pkgs/applications/networking/warp/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,22 @@
, glib
, gtk4
, libadwaita
, zbar
, gst_all_1
, Security
, Foundation
}:

stdenv.mkDerivation rec {
pname = "warp";
version = "0.6.2";
version = "0.7.0";

src = fetchFromGitLab {
domain = "gitlab.gnome.org";
owner = "World";
repo = pname;
repo = "warp";
rev = "v${version}";
hash = "sha256-pntHIY0cScDKhWR6kXp6YrEbBQiQjUId3MrJzy5l+K8=";
hash = "sha256-GRxZ3y1PdJpBDnGCfmOmZgN8n1aaYf9IhyszRwo3MjQ=";
};

postPatch = ''
Expand All @@ -38,7 +40,7 @@ stdenv.mkDerivation rec {
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
hash = "sha256-Go/a7aVHF1Yt3yIccKJIVeFy5rckXhSKfd13hdhlLUQ=";
hash = "sha256-v/MhVcQmMYD/n/8wmPCYUy4YpXhL0v4fq8h6cllo/pw=";
};

nativeBuildInputs = [
Expand All @@ -59,7 +61,12 @@ stdenv.mkDerivation rec {
glib
gtk4
libadwaita
] ++ lib.optionals stdenv.isDarwin [
zbar
] ++ (with gst_all_1; [
gstreamer
gst-plugins-base
gst-plugins-bad
]) ++ lib.optionals stdenv.isDarwin [
Security
Foundation
];
Expand Down

0 comments on commit 25e9a6d

Please sign in to comment.