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
parent a21de12920
commit 9e293b3bdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "duplicacy-${version}";
pname = "duplicacy";
version = "2.1.2";
goPackagePath = "github.com/gilbertchen/duplicacy/";
@ -19,8 +19,7 @@ buildGoPackage rec {
'';
installPhase = ''
mkdir -p $bin/bin
cp duplicacy_main $bin/bin/duplicacy
install -D duplicacy_main $bin/bin/duplicacy
'';
meta = with lib; {