wofi: switch to fetchFromSourcehut
This commit is contained in:
parent
88a14ad6f4
commit
a7f3bc30a5
|
@ -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 {
|
stdenv.mkDerivation rec {
|
||||||
pname = "wofi";
|
pname = "wofi";
|
||||||
version = "1.3";
|
version = "1.3";
|
||||||
|
|
||||||
src = fetchhg {
|
src = fetchFromSourcehut {
|
||||||
url = "https://hg.sr.ht/~scoopta/wofi";
|
repo = pname;
|
||||||
|
owner = "~scoopta";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-GxMjEXBPQniD+Yc9QZjd8TH4ILJAX5dNzrjxDawhy8w=";
|
sha256 = "sha256-GxMjEXBPQniD+Yc9QZjd8TH4ILJAX5dNzrjxDawhy8w=";
|
||||||
|
vc = "hg";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config meson ninja wrapGAppsHook installShellFiles ];
|
nativeBuildInputs = [ pkg-config meson ninja wrapGAppsHook installShellFiles ];
|
||||||
|
|
Loading…
Reference in a new issue