fork
Configure Feed
Select the types of activity you want to include in your feed.
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{
2 lib,
3 stdenv,
4 fetchFromSourcehut,
5 wayland,
6 wayland-scanner,
7 unstableGitUpdater,
8}:
9
10stdenv.mkDerivation {
11 pname = "river-bnf";
12 version = "0-unstable-2023-10-10";
13
14 src = fetchFromSourcehut {
15 owner = "~leon_plickat";
16 repo = "river-bnf";
17 rev = "bb8ded380ed5d539777533065b4fd33646ad5603";
18 hash = "sha256-rm9Nt3WLgq9QOXzrkYBGp45EALNYFTQGInxfYIN0XcU=";
19 };
20
21 # Fix build with gcc 15
22 env.NIX_CFLAGS_COMPILE = "-std=gnu17";
23
24 nativeBuildInputs = [
25 wayland-scanner
26 ];
27
28 buildInputs = [
29 wayland.dev
30 ];
31
32 postPatch = ''
33 substituteInPlace Makefile --replace '/usr/local' $out
34 '';
35
36 passthru.updateScript = unstableGitUpdater { };
37
38 meta = {
39 description = "Switch back'n'forth between river tags";
40 homepage = "https://git.sr.ht/~leon_plickat/river-bnf";
41 license = lib.licenses.gpl3Only;
42 maintainers = with lib.maintainers; [ adamcstephens ];
43 mainProgram = "river-bnf";
44 platforms = lib.platforms.linux;
45 };
46}