summaryrefslogtreecommitdiffstats
path: root/pkgs/bspwc
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/bspwc')
-rw-r--r--pkgs/bspwc/default.nix10
-rw-r--r--pkgs/bspwc/metadata.nix5
2 files changed, 7 insertions, 8 deletions
diff --git a/pkgs/bspwc/default.nix b/pkgs/bspwc/default.nix
index d499354..77d1904 100644
--- a/pkgs/bspwc/default.nix
+++ b/pkgs/bspwc/default.nix
@@ -1,8 +1,9 @@
-{ stdenv, fetchFromGitHub
+{ stdenv, fetchgit
, meson, ninja, pkgconfig
, wlroots, wayland, wayland-protocols
, pixman, libxkbcommon
, libudev, mesa_noglu, libX11 # not mentioned in meson.build...
+, wltrunk
}:
let
@@ -12,16 +13,15 @@ stdenv.mkDerivation rec {
name = "bspwc-${version}";
version = metadata.rev;
- src = fetchFromGitHub {
- owner = "Bl4ckb0ne";
- repo = "bspwc";
+ src = fetchgit {
+ url = "https://git.sr.ht/~bl4ckb0ne/bspwc";
rev = version;
sha256 = metadata.sha256;
};
nativeBuildInputs = [ pkgconfig meson ninja ];
buildInputs = [
- wlroots wayland wayland-protocols wlroots
+ wlroots wayland wayland-protocols wlroots wltrunk
pixman libxkbcommon libudev mesa_noglu libX11
];
mesonFlags = [ "-Dauto_features=enabled" ];
diff --git a/pkgs/bspwc/metadata.nix b/pkgs/bspwc/metadata.nix
index b36f96b..ded22c3 100644
--- a/pkgs/bspwc/metadata.nix
+++ b/pkgs/bspwc/metadata.nix
@@ -1,5 +1,4 @@
{
- rev = "e72ff641bd30d3db153d879cea1cffd149931546";
- sha256 = "1hp5k7fnkxdvbyxkl9yv85i4y4ayzy2cz9ryd7axxy9zs678lrcp";
- revdate = "2018-12-29T23:21:06Z";
+ rev = "ad5b16a319c76d4ba823397f66f87a0969443a03";
+ sha256 = "0bd0liqxrw5mp368q1m4ivd9xhgz6qlj2rps6sxdg0bhi9gs3iw3";
}