aerc, asuka, scdoc, wev, wlsunset, wshowkeys: use fetchFromSourceHut
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchurl, meson, pkg-config, ninja, wayland
|
||||
{ lib, stdenv, fetchFromSourcehut, meson, pkg-config, ninja, wayland
|
||||
, wayland-protocols
|
||||
}:
|
||||
|
||||
@@ -6,9 +6,11 @@ stdenv.mkDerivation rec {
|
||||
pname = "wlsunset";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://git.sr.ht/~kennylevinsen/wlsunset/archive/${version}.tar.gz";
|
||||
sha256 = "0g7mk14hlbwbhq6nqr84452sbgcja3hdxsqf0vws4njhfjgqiv3q";
|
||||
src = fetchFromSourcehut {
|
||||
owner = "~kennylevinsen";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "12snizvf49y40cirhr2brgyldhsykv4k2gnln2sdrajqzhrc98v6";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ meson pkg-config ninja wayland ];
|
||||
|
||||
Reference in New Issue
Block a user