Skip to content

Commit

Permalink
Merge pull request #260445 from adamcstephens/river-bnf/init
Browse files Browse the repository at this point in the history
river-bnf: init at unstable-2023-10-10
  • Loading branch information
marsam authored Oct 23, 2023
2 parents d6e4ce2 + 9537ce3 commit 6c5458c
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions pkgs/by-name/ri/river-bnf/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{ lib
, stdenv
, fetchFromSourcehut
, wayland
, wayland-scanner
, unstableGitUpdater
}:

stdenv.mkDerivation rec {
pname = "river-bnf";
version = "unstable-2023-10-10";

src = fetchFromSourcehut {
owner = "~leon_plickat";
repo = pname;
rev = "bb8ded380ed5d539777533065b4fd33646ad5603";
hash = "sha256-rm9Nt3WLgq9QOXzrkYBGp45EALNYFTQGInxfYIN0XcU=";
};

nativeBuildInputs = [
wayland-scanner
];

buildInputs = [
wayland.dev
];

postPatch = ''
substituteInPlace Makefile --replace '/usr/local' $out
'';

passthru.updateScript = unstableGitUpdater { };

meta = {
description = "Switch back'n'forth between river tags";
homepage = "https://git.sr.ht/~leon_plickat/river-bnf";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ adamcstephens ];
mainProgram = "river-bnf";
platforms = lib.platforms.linux;
};
}

0 comments on commit 6c5458c

Please sign in to comment.