Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

xsettingsd: git-2015-06-14 -> 1.0.0

- Update to version 1.0.0
- Install man pages
- Fix license
- Add maintainer

+13 -14
+13 -14
pkgs/tools/X11/xsettingsd/default.nix
··· 1 - { stdenv, fetchFromGitHub, scons, libX11, pkgconfig }: 2 3 stdenv.mkDerivation rec { 4 name = "xsettingsd-${version}"; 5 - version = "git-2015-06-14"; 6 7 src = fetchFromGitHub { 8 owner = "derat"; 9 repo = "xsettingsd"; 10 - rev = "b4999f5e9e99224caf97d09f25ee731774ecd7be"; 11 - sha256 = "18cp6a66ji483lrvf0vq855idwmcxd0s67ijpydgjlsr70c65j7s"; 12 }; 13 14 patches = [ 15 ./SConstruct.patch 16 ]; 17 18 - nativeBuildInputs = [ pkgconfig ]; 19 - buildInputs = [ libX11 scons ]; 20 buildPhase = '' 21 - mkdir -p "$out" 22 - scons \ 23 - -j$NIX_BUILD_CORES -l$NIX_BUILD_CORES \ 24 - "prefix=$out" 25 ''; 26 27 installPhase = '' 28 - mkdir -p "$out"/bin 29 - install xsettingsd "$out"/bin 30 - install dump_xsettings "$out"/bin 31 ''; 32 33 meta = with stdenv.lib; { 34 description = "Provides settings to X11 applications via the XSETTINGS specification"; 35 homepage = https://github.com/derat/xsettingsd; 36 - license = licenses.bsd2; 37 platforms = platforms.linux; 38 }; 39 }
··· 1 + { stdenv, fetchFromGitHub, scons, pkgconfig, libX11 }: 2 3 stdenv.mkDerivation rec { 4 name = "xsettingsd-${version}"; 5 + version = "1.0.0"; 6 7 src = fetchFromGitHub { 8 owner = "derat"; 9 repo = "xsettingsd"; 10 + rev = "v${version}"; 11 + sha256 = "05m4jlw0mgwp24cvyklncpziq1prr2lg0cq9c055sh4n9d93d07v"; 12 }; 13 14 patches = [ 15 ./SConstruct.patch 16 ]; 17 18 + nativeBuildInputs = [ scons pkgconfig ]; 19 + 20 + buildInputs = [ libX11 ]; 21 + 22 buildPhase = '' 23 + scons -j$NIX_BUILD_CORES -l$NIX_BUILD_CORES 24 ''; 25 26 installPhase = '' 27 + install -D -t "$out"/bin xsettingsd dump_xsettings 28 + install -D -t "$out"/usr/share/man/man1 xsettingsd.1 dump_xsettings.1 29 ''; 30 31 meta = with stdenv.lib; { 32 description = "Provides settings to X11 applications via the XSETTINGS specification"; 33 homepage = https://github.com/derat/xsettingsd; 34 + license = licenses.bsd3; 35 platforms = platforms.linux; 36 + maintainers = [ maintainers.romildo ]; 37 }; 38 }