diff options
author | WilliButz <wbutz@cyberfnord.de> | 2019-10-29 14:43:07 +0100 |
---|---|---|
committer | WilliButz <wbutz@cyberfnord.de> | 2019-10-29 14:43:43 +0100 |
commit | 5330d56c3b5a9945d024938b2ae7dcad535a2df8 (patch) | |
tree | ed7733897b4767d74f46199547b6a210b70cefdf /pkgs/tools/wayland/ydotool | |
parent | dacc4ac6806bff53473b50547145b243377c3ff9 (diff) | |
download | nixpkgs-5330d56c3b5a9945d024938b2ae7dcad535a2df8.tar nixpkgs-5330d56c3b5a9945d024938b2ae7dcad535a2df8.tar.gz nixpkgs-5330d56c3b5a9945d024938b2ae7dcad535a2df8.tar.bz2 nixpkgs-5330d56c3b5a9945d024938b2ae7dcad535a2df8.tar.lz nixpkgs-5330d56c3b5a9945d024938b2ae7dcad535a2df8.tar.xz nixpkgs-5330d56c3b5a9945d024938b2ae7dcad535a2df8.tar.zst nixpkgs-5330d56c3b5a9945d024938b2ae7dcad535a2df8.zip |
ydotool: init at 0.1.8
Diffstat (limited to 'pkgs/tools/wayland/ydotool')
-rw-r--r-- | pkgs/tools/wayland/ydotool/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/tools/wayland/ydotool/default.nix b/pkgs/tools/wayland/ydotool/default.nix new file mode 100644 index 00000000000..d8b6ad4ff87 --- /dev/null +++ b/pkgs/tools/wayland/ydotool/default.nix @@ -0,0 +1,33 @@ +{ stdenv, fetchFromGitHub, pkgconfig, cmake, boost, libevdevplus, libuinputplus }: + +stdenv.mkDerivation rec { + pname = "ydotool"; + version = "0.1.8"; + + src = fetchFromGitHub { + owner = "ReimuNotMoe"; + repo = "ydotool"; + rev = "v${version}"; + sha256 = "0mx3636p0f8pznmwm4rlbwq7wrmjb2ygkf8b3a6ps96a7j1fw39l"; + }; + + # disable static linking + postPatch = '' + substituteInPlace CMakeLists.txt --replace \ + "-static" \ + "" + ''; + + nativeBuildInputs = [ cmake pkgconfig ]; + buildInputs = [ + boost libevdevplus libuinputplus + ]; + + meta = with stdenv.lib; { + inherit (src.meta) homepage; + description = "Generic Linux command-line automation tool"; + license = licenses.mit; + maintainers = with maintainers; [ willibutz ]; + platforms = with platforms; linux; + }; +} |