diff options
author | Jarrod Pas <jarrod@jarrodpas.com> | 2021-02-24 23:05:08 -0600 |
---|---|---|
committer | Jarrod Pas <jarrod@jarrodpas.com> | 2021-02-25 01:57:05 -0600 |
commit | 959d9e1029ddb79fa52edb01fb44fc52f858194e (patch) | |
tree | 1d4f43bfa5e67dc5f82b94bd1a0d55b3692d011d /pkgs/tools/wayland/wdomirror | |
parent | b4f3209bef3ae822a408340a170e257199ba5fbe (diff) | |
download | nixpkgs-959d9e1029ddb79fa52edb01fb44fc52f858194e.tar nixpkgs-959d9e1029ddb79fa52edb01fb44fc52f858194e.tar.gz nixpkgs-959d9e1029ddb79fa52edb01fb44fc52f858194e.tar.bz2 nixpkgs-959d9e1029ddb79fa52edb01fb44fc52f858194e.tar.lz nixpkgs-959d9e1029ddb79fa52edb01fb44fc52f858194e.tar.xz nixpkgs-959d9e1029ddb79fa52edb01fb44fc52f858194e.tar.zst nixpkgs-959d9e1029ddb79fa52edb01fb44fc52f858194e.zip |
wdomirror: init at unstable-2021-01-08
Diffstat (limited to 'pkgs/tools/wayland/wdomirror')
-rw-r--r-- | pkgs/tools/wayland/wdomirror/default.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/tools/wayland/wdomirror/default.nix b/pkgs/tools/wayland/wdomirror/default.nix new file mode 100644 index 00000000000..8fddf51f539 --- /dev/null +++ b/pkgs/tools/wayland/wdomirror/default.nix @@ -0,0 +1,38 @@ +{ lib +, stdenv +, fetchFromGitHub +, meson +, ninja +, pkg-config +, wayland +, wayland-protocols +}: + +stdenv.mkDerivation { + pname = "wdomirror"; + version = "unstable-2021-01-08"; + + src = fetchFromGitHub { + owner = "progandy"; + repo = "wdomirror"; + rev = "e4a4934e6f739909fbf346cbc001c72690b5c906"; + sha256 = "1fz0sajhdjqas3l6mpik8w1k15wbv65hgh9r9vdgfqvw5l6cx7jv"; + }; + + nativeBuildInputs = [ meson ninja pkg-config wayland-protocols ]; + + buildInputs = [ wayland ]; + + installPhase = '' + runHook preInstall + install -m755 -D wdomirror $out/bin/wdomirror + runHook postInstall + ''; + + meta = with lib; { + description = "Mirrors an output of a wlroots compositor to a window"; + license = licenses.mit; + platforms = platforms.unix; + maintainers = with maintainers; [ jpas ]; + }; +} |