summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/X11/xrectsel
diff options
context:
space:
mode:
authorJoris Guyonvarch <joris@guyonvarch.me>2017-01-09 06:07:25 +0100
committerFranz Pletz <fpletz@fnordicwalking.de>2017-01-09 06:07:25 +0100
commit1603526000c2f5db86e018041677cfa80b4885a1 (patch)
tree1cb20a64a96f9362fc4ec6ffc39c7d16d3e2f886 /pkgs/tools/X11/xrectsel
parent917e67f15fbe5890dcabe66a13b8f627bd12459b (diff)
xrectsel: init at 0.3.2 (#21153)
Diffstat (limited to 'pkgs/tools/X11/xrectsel')
-rw-r--r--pkgs/tools/X11/xrectsel/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/X11/xrectsel/default.nix b/pkgs/tools/X11/xrectsel/default.nix
new file mode 100644
index 000000000000..f38ecab9f112
--- /dev/null
+++ b/pkgs/tools/X11/xrectsel/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, fetchFromGitHub, autoreconfHook, libX11 }:
+
+stdenv.mkDerivation rec {
+ name = "xrectsel-${version}";
+ version = "0.3.2";
+
+ src = fetchFromGitHub {
+ owner = "lolilolicon";
+ repo = "xrectsel";
+ rev = "${version}";
+ sha256 = "0prl4ky3xzch6xcb673mcixk998d40ngim5dqc5374b1ls2r6n7l";
+ };
+
+ nativeBuildInputs = [ autoreconfHook ];
+ buildInputs = [ libX11 ];
+
+ postBuild = ''
+ make DESTDIR="$out" install
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Print the geometry of a rectangular screen region";
+ homepage = https://github.com/lolilolicon/xrectsel;
+ license = licenses.gpl3;
+ maintainers = [ maintainers.guyonvarch ];
+ platforms = platforms.linux;
+ };
+}