wofi: switch to fetchFromSourcehut

This commit is contained in:
laalsaas 2022-10-28 03:02:50 +02:00
parent 88a14ad6f4
commit a7f3bc30a5

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 ];