2016-06-22 02:19:13 +01:00
|
|
|
{stdenv, fetchurl, python, xorg, makeWrapper}:
|
2011-10-14 19:04:34 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-12-18 13:20:20 +00:00
|
|
|
name = "disper-0.3.1";
|
2011-10-14 19:04:34 +01:00
|
|
|
|
2016-06-22 02:19:13 +01:00
|
|
|
buildInputs = [python makeWrapper];
|
2011-10-14 19:04:34 +01:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
export makeFlags="PREFIX=$out"
|
|
|
|
'';
|
|
|
|
|
2016-06-22 02:19:13 +01:00
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/disper \
|
2016-08-23 00:13:46 +01:00
|
|
|
--prefix "LD_LIBRARY_PATH" : "${stdenv.lib.makeLibraryPath [ xorg.libXrandr xorg.libX11 ]}"
|
2016-06-22 02:19:13 +01:00
|
|
|
'';
|
|
|
|
|
2011-10-14 19:04:34 +01:00
|
|
|
src = fetchurl {
|
2013-12-18 13:20:20 +00:00
|
|
|
url = http://ppa.launchpad.net/disper-dev/ppa/ubuntu/pool/main/d/disper/disper_0.3.1.tar.gz;
|
|
|
|
sha256 = "1l8brcpfn4iascb454ym0wrv5kqyz4f0h8k6db54nc3zhfwy7vvw";
|
2011-10-14 19:04:34 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
2013-10-06 10:49:53 +01:00
|
|
|
description = "On-the-fly display switch utility";
|
2011-10-14 19:04:34 +01:00
|
|
|
homepage = http://willem.engen.nl/projects/disper/;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2011-10-14 19:04:34 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|