diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2023-10-23 06:38:26 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-23 06:38:26 -0500 |
commit | 6c5458cf32ba8aff7db0fc15379ba375f944067b (patch) | |
tree | eed91745aa554fea1b232254f1ddf64ebb1b232c | |
parent | d6e4ce20b6a454e9c88007ab6885e6a746b3d706 (diff) | |
parent | 9537ce326e3555ed223a1dfe8f5453777f304b94 (diff) | |
download | nixpkgs-6c5458cf32ba8aff7db0fc15379ba375f944067b.tar nixpkgs-6c5458cf32ba8aff7db0fc15379ba375f944067b.tar.gz nixpkgs-6c5458cf32ba8aff7db0fc15379ba375f944067b.tar.bz2 nixpkgs-6c5458cf32ba8aff7db0fc15379ba375f944067b.tar.lz nixpkgs-6c5458cf32ba8aff7db0fc15379ba375f944067b.tar.xz nixpkgs-6c5458cf32ba8aff7db0fc15379ba375f944067b.tar.zst nixpkgs-6c5458cf32ba8aff7db0fc15379ba375f944067b.zip |
Merge pull request #260445 from adamcstephens/river-bnf/init
river-bnf: init at unstable-2023-10-10
-rw-r--r-- | pkgs/by-name/ri/river-bnf/package.nix | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/by-name/ri/river-bnf/package.nix b/pkgs/by-name/ri/river-bnf/package.nix new file mode 100644 index 00000000000..f869a6e2ff0 --- /dev/null +++ b/pkgs/by-name/ri/river-bnf/package.nix @@ -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; + }; +} |