xrectsel: init at 0.3.2 (#21153)
This commit is contained in:
parent
917e67f15f
commit
1603526000
@ -1,22 +1,20 @@
|
||||
{ stdenv, fetchgit, autoconf, automake, perl, libX11 }:
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, perl, libX11 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ffcast-${version}";
|
||||
version = "2.5.0";
|
||||
rev = "7c3bf681e7ca9b242e55dbf0c07856ed994d94e9";
|
||||
|
||||
src = fetchgit {
|
||||
url = https://github.com/lolilolicon/FFcast;
|
||||
sha256 = "1s1y6rqjq126jvdzc75wz20szisbz8h8fkphlwxcxzl9xll17akj";
|
||||
src = fetchFromGitHub {
|
||||
owner = "lolilolicon";
|
||||
repo = "FFcast";
|
||||
rev = "${version}";
|
||||
sha256 = "047y32bixhc8ksr98vwpgd0k1xxgsv2vs0n3kc2xdac4krc9454h";
|
||||
};
|
||||
|
||||
buildInputs = [ autoconf automake perl libX11 ];
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
buildInputs = [ perl libX11 ];
|
||||
|
||||
preConfigure = ''
|
||||
./bootstrap
|
||||
'';
|
||||
|
||||
configureFlags = [ "--enable-xrectsel" ];
|
||||
configureFlags = [ "--disable-xrectsel" ];
|
||||
|
||||
postBuild = ''
|
||||
make DESTDIR="$out" install
|
||||
|
28
pkgs/tools/X11/xrectsel/default.nix
Normal file
28
pkgs/tools/X11/xrectsel/default.nix
Normal file
@ -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;
|
||||
};
|
||||
}
|
@ -15707,6 +15707,8 @@ in
|
||||
#TODO: 'pil' is not available for python3, yet
|
||||
xpraGtk3 = callPackage ../tools/X11/xpra/gtk3.nix { inherit (texFunctions) fontsConf; inherit (python3Packages) buildPythonApplication python cython pygobject3 pycairo; };
|
||||
|
||||
xrectsel = callPackage ../tools/X11/xrectsel { };
|
||||
|
||||
xrestop = callPackage ../tools/X11/xrestop { };
|
||||
|
||||
xsd = callPackage ../development/libraries/xsd { };
|
||||
|
Loading…
Reference in New Issue
Block a user