mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
disper: repair missing libXrandr and libX11 dependencies
This commit is contained in:
parent
530a9ab981
commit
32744b72e5
@ -1,14 +1,19 @@
|
||||
{stdenv, fetchurl, python}:
|
||||
{stdenv, fetchurl, python, xorg, makeWrapper}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "disper-0.3.1";
|
||||
|
||||
buildInputs = [python];
|
||||
buildInputs = [python makeWrapper];
|
||||
|
||||
preConfigure = ''
|
||||
export makeFlags="PREFIX=$out"
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/disper \
|
||||
--prefix "LD_LIBRARY_PATH" : "${xorg.libXrandr.out}/lib:${xorg.libX11.out}/lib"
|
||||
'';
|
||||
|
||||
src = fetchurl {
|
||||
url = http://ppa.launchpad.net/disper-dev/ppa/ubuntu/pool/main/d/disper/disper_0.3.1.tar.gz;
|
||||
sha256 = "1l8brcpfn4iascb454ym0wrv5kqyz4f0h8k6db54nc3zhfwy7vvw";
|
||||
|
Loading…
Reference in New Issue
Block a user