Merge pull request #198183 from laalsaas/wofi

wofi: switch to fetchFromSourcehut
This commit is contained in:
Mario Rodas
2022-10-28 21:56:30 -05:00
committed by GitHub
+15 -4
View File
@@ -1,13 +1,24 @@
{ stdenv, lib, fetchhg, pkg-config, meson, ninja, wayland, gtk3, wrapGAppsHook, installShellFiles }:
{ stdenv
, lib
, fetchFromSourcehut
, pkg-config
, meson
, ninja
, wayland
, gtk3
, wrapGAppsHook
, installShellFiles
}:
stdenv.mkDerivation rec {
pname = "wofi";
version = "1.3";
src = fetchhg {
url = "https://hg.sr.ht/~scoopta/wofi";
src = fetchFromSourcehut {
repo = pname;
owner = "~scoopta";
rev = "v${version}";
sha256 = "sha256-GxMjEXBPQniD+Yc9QZjd8TH4ILJAX5dNzrjxDawhy8w=";
vc = "hg";
};
nativeBuildInputs = [ pkg-config meson ninja wrapGAppsHook installShellFiles ];