speedread: simplify installPhase

This commit is contained in:
Jörg Thalheim
2017-03-06 11:23:42 +01:00
committed by Jörg Thalheim
parent 27367d6347
commit 9235c3c26b
+2 -4
View File
@@ -1,8 +1,7 @@
{ stdenv, fetchFromGitHub, perl }: { stdenv, fetchFromGitHub, perl }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "git-2016-09-21"; name = "speedread-unstable-2016-09-21";
name = "speedread-${version}";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pasky"; owner = "pasky";
@@ -14,8 +13,7 @@ stdenv.mkDerivation rec {
buildInputs = [ perl ]; buildInputs = [ perl ];
installPhase = '' installPhase = ''
mkdir -p $out/bin install -m755 -D speedread $out/bin/speedread
mv speedread $out/bin
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {