mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
f0a1ab78b4
* Add setupHook for meson/ninja build * libhttpseverywhere: Use meson/ninja setupHooks * jamomacore: Remove superfluous ninja buildInput * Remove obsolete ninja buildPhases These are all handled by ninja's setup hook. * lean2, xcbuild: fix build with ninja setup hook Ninja is a runtime dependency here. However, cmake can generate Ninja build files as well to satisfy the setup hook. * qtwebengine: fix build with ninja setup hook
32 lines
820 B
Nix
32 lines
820 B
Nix
{ stdenv, fetchgit, pkgconfig, ninja, libevdev, libev }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.4";
|
|
name = "illum-${version}";
|
|
|
|
src = fetchgit {
|
|
url = "https://github.com/jmesmon/illum.git";
|
|
fetchSubmodules = true;
|
|
rev = "48ce8631346b1c88a901a8e4fa5fa7e8ffe8e418";
|
|
sha256 = "05v3hz7n6b1mlhc6zqijblh1vpl0ja1y8y0lafw7mjdz03wxhfdb";
|
|
};
|
|
|
|
buildInputs = [ pkgconfig ninja libevdev libev ];
|
|
|
|
configurePhase = ''
|
|
bash ./configure
|
|
'';
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
mv illum-d $out/bin
|
|
'';
|
|
|
|
meta = {
|
|
homepage = https://github.com/jmesmon/illum;
|
|
description = "Daemon that wires button presses to screen backlight level";
|
|
platforms = stdenv.lib.platforms.linux;
|
|
maintainers = [ stdenv.lib.maintainers.dancek ];
|
|
license = stdenv.lib.licenses.agpl3;
|
|
};
|
|
}
|