Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / misc / river-tag-overlay / default.nix
blob902f6e816148971a9ef08445ebc10445b585daf1
1 { lib, stdenv, fetchFromSourcehut, fetchpatch
2 , wayland, pixman, pkg-config, wayland-scanner
3 }:
5 stdenv.mkDerivation rec {
6   pname = "river-tag-overlay";
7   version = "1.0.0";
9   src = fetchFromSourcehut {
10     owner = "~leon_plickat";
11     repo = pname;
12     rev = "v${version}";
13     hash = "sha256-hLyXdLi/ldvwPJ1oQQsH5wgflQJuXu6vhYw/qdKAV9E=";
14   };
16   patches = [
17     # Backport cross fix.
18     (fetchpatch {
19       url = "https://git.sr.ht/~leon_plickat/river-tag-overlay/commit/791eaadf46482121a4c811ffba13d03168d74d8f.patch";
20       sha256 = "CxSDcweHGup1EF3oD/2vhP6RFoeYorj0BwmlgA3tbPE=";
21     })
22   ];
24   buildInputs = [ pixman wayland ];
25   nativeBuildInputs = [ pkg-config wayland-scanner ];
27   makeFlags = [
28     "DESTDIR=${placeholder "out"}"
29     "PREFIX="
30   ];
32   meta = with lib; {
33     description = "A pop-up showing tag status";
34     homepage = "https://sr.ht/~leon_plickat/river-tag-overlay";
35     license = licenses.gpl3Only;
36     maintainers = with maintainers; [ edrex ];
37     platforms = platforms.linux;
38   };