Merge pull request #46420 from romildo/upd.xsettingsd
xsettingsd: git-2015-06-14 -> 1.0.0
This commit is contained in:
commit
288a542a9a
@ -1,39 +1,38 @@
|
|||||||
{ stdenv, fetchFromGitHub, scons, libX11, pkgconfig }:
|
{ stdenv, fetchFromGitHub, scons, pkgconfig, libX11 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "xsettingsd-${version}";
|
name = "xsettingsd-${version}";
|
||||||
version = "git-2015-06-14";
|
version = "1.0.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "derat";
|
owner = "derat";
|
||||||
repo = "xsettingsd";
|
repo = "xsettingsd";
|
||||||
rev = "b4999f5e9e99224caf97d09f25ee731774ecd7be";
|
rev = "v${version}";
|
||||||
sha256 = "18cp6a66ji483lrvf0vq855idwmcxd0s67ijpydgjlsr70c65j7s";
|
sha256 = "05m4jlw0mgwp24cvyklncpziq1prr2lg0cq9c055sh4n9d93d07v";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./SConstruct.patch
|
./SConstruct.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ scons pkgconfig ];
|
||||||
buildInputs = [ libX11 scons ];
|
|
||||||
|
buildInputs = [ libX11 ];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
mkdir -p "$out"
|
scons -j$NIX_BUILD_CORES -l$NIX_BUILD_CORES
|
||||||
scons \
|
|
||||||
-j$NIX_BUILD_CORES -l$NIX_BUILD_CORES \
|
|
||||||
"prefix=$out"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p "$out"/bin
|
install -D -t "$out"/bin xsettingsd dump_xsettings
|
||||||
install xsettingsd "$out"/bin
|
install -D -t "$out"/usr/share/man/man1 xsettingsd.1 dump_xsettings.1
|
||||||
install dump_xsettings "$out"/bin
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Provides settings to X11 applications via the XSETTINGS specification";
|
description = "Provides settings to X11 applications via the XSETTINGS specification";
|
||||||
homepage = https://github.com/derat/xsettingsd;
|
homepage = https://github.com/derat/xsettingsd;
|
||||||
license = licenses.bsd2;
|
license = licenses.bsd3;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
|
maintainers = [ maintainers.romildo ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user