3
0
Fork 0
forked from mirrors/nixpkgs

wtftfw: 20161001 -> 20170921

- Bump revision
- Prefix Exec path with output directory
This commit is contained in:
Stefan Junker 2017-10-03 00:22:00 +02:00
parent 672bf13c1f
commit 8f3461c7fd

View file

@ -1,12 +1,12 @@
{ stdenv, fetchFromGitHub, rustPlatform, cargo, libXinerama, libX11, xlibs, pkgconfig }: { stdenv, fetchFromGitHub, rustPlatform, cargo, libXinerama, libX11, xlibs, pkgconfig }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
name = "wtftw-0.0pre20161001"; name = "wtftw-0.0pre20170921";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kintaro"; owner = "kintaro";
repo = "wtftw"; repo = "wtftw";
rev = "b72a1bd24430a614d953d6ecf61732805277cc0c"; rev = "13712d4c051938520b90b6639d4ff813f6fe5f48";
sha256 = "1ajxkncqh4azyhmsdyk07r1kbhwv81vl1ix3w4iaz8cyln4gs0kp"; sha256 = "1r74nhcwiy2rmifzjhdal3jcqz4jz48nfvhdyw4gasa6nxp3msdl";
}; };
depsSha256 = "0z7h8ybh2db3xl8qxbzby5lncdaijixzmbn1j8a45lbky1xiix71"; depsSha256 = "0z7h8ybh2db3xl8qxbzby5lncdaijixzmbn1j8a45lbky1xiix71";
@ -24,7 +24,7 @@ rustPlatform.buildRustPackage rec {
cp -p target/release/wtftw $out/bin/ cp -p target/release/wtftw $out/bin/
echo "[Desktop Entry] echo "[Desktop Entry]
Name=wtftw Name=wtftw
Exec=/bin/wtftw Exec=$out/bin/wtftw
Type=XSession Type=XSession
DesktopName=wtftw" > $out/share/xsessions/wtftw.desktop DesktopName=wtftw" > $out/share/xsessions/wtftw.desktop
''; '';