nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 libX11,
6}:
7
8stdenv.mkDerivation {
9 pname = "xrq";
10 version = "0-unstable-2016-01-15";
11
12 src = fetchFromGitHub {
13 owner = "arianon";
14 repo = "xrq";
15 rev = "d5dc19c63881ebdd1287a02968e3a1447dde14a9";
16 sha256 = "1bxf6h3fjw3kjraz7028m7p229l423y1ngy88lqvf0xl1g3dhp36";
17 };
18
19 installPhase = ''
20 make PREFIX=$out install
21 '';
22
23 outputs = [
24 "out"
25 "man"
26 ];
27
28 buildInputs = [ libX11 ];
29
30 meta = {
31 description = "X utility for querying xrdb";
32 homepage = "https://github.com/arianon/xrq";
33 license = lib.licenses.mit;
34 platforms = with lib.platforms; unix;
35 mainProgram = "xrq";
36 };
37}