Apply suggestions from code review

Co-Authored-By: ffinkdevs <fink@h0st.space>
This commit is contained in:
Jörg Thalheim
2018-12-17 12:34:39 +01:00
committed by GitHub
co-authored by ffinkdevs
parent a21de12920
commit 9e293b3bdb
+2 -3
View File
@@ -1,7 +1,7 @@
{ lib, buildGoPackage, fetchFromGitHub }: { lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec { buildGoPackage rec {
name = "duplicacy-${version}"; pname = "duplicacy";
version = "2.1.2"; version = "2.1.2";
goPackagePath = "github.com/gilbertchen/duplicacy/"; goPackagePath = "github.com/gilbertchen/duplicacy/";
@@ -19,8 +19,7 @@ buildGoPackage rec {
''; '';
installPhase = '' installPhase = ''
mkdir -p $bin/bin install -D duplicacy_main $bin/bin/duplicacy
cp duplicacy_main $bin/bin/duplicacy
''; '';
meta = with lib; { meta = with lib; {