2021-11-07 20:29:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, libX11 }:
|
2017-03-18 23:20:01 +00:00
|
|
|
|
2019-08-13 21:52:01 +00:00
|
|
|
stdenv.mkDerivation {
|
2021-11-07 20:29:51 +00:00
|
|
|
pname = "xrq";
|
|
|
|
version = "unstable-2016-01-15";
|
2017-03-18 23:20:01 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-01-15 05:42:41 +00:00
|
|
|
owner = "arianon";
|
|
|
|
repo = "xrq";
|
2017-03-18 23:20:01 +00:00
|
|
|
rev = "d5dc19c63881ebdd1287a02968e3a1447dde14a9";
|
|
|
|
sha256 = "1bxf6h3fjw3kjraz7028m7p229l423y1ngy88lqvf0xl1g3dhp36";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
make PREFIX=$out install
|
|
|
|
'';
|
|
|
|
|
2017-07-11 09:14:14 +00:00
|
|
|
outputs = [ "out" "man" ];
|
2017-03-18 23:20:01 +00:00
|
|
|
|
|
|
|
buildInputs = [ libX11 ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "X utility for querying xrdb";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/arianon/xrq";
|
2021-01-15 05:42:41 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
platforms = with lib.platforms; unix;
|
2017-03-18 23:20:01 +00:00
|
|
|
};
|
|
|
|
}
|