speedread: simplify installPhase

This commit is contained in:
Jörg Thalheim 2017-03-06 11:20:02 +01:00 committed by Jörg Thalheim
parent 27367d6347
commit 9235c3c26b
No known key found for this signature in database
GPG key ID: CA4106B8D7CC79FA

View file

@ -1,8 +1,7 @@
{ stdenv, fetchFromGitHub, perl }:
stdenv.mkDerivation rec {
version = "git-2016-09-21";
name = "speedread-${version}";
name = "speedread-unstable-2016-09-21";
src = fetchFromGitHub {
owner = "pasky";
@ -14,8 +13,7 @@ stdenv.mkDerivation rec {
buildInputs = [ perl ];
installPhase = ''
mkdir -p $out/bin
mv speedread $out/bin
install -m755 -D speedread $out/bin/speedread
'';
meta = with stdenv.lib; {