mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
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 {
|
||||
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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user