aerc, asuka, scdoc, wev, wlsunset, wshowkeys: use fetchFromSourceHut

This commit is contained in:
Logan Glasson
2021-03-14 00:34:30 +13:00
parent 9fc486d67f
commit a0e35869a2
6 changed files with 36 additions and 24 deletions
+6 -4
View File
@@ -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 ];