plowshare: 1.1.0 -> 2.1.6

This commit is contained in:
Johannes Frankenau 2017-06-28 17:07:15 +02:00
parent ae953c22ed
commit 8439131b5a

View File

@ -1,15 +1,15 @@
{ stdenv, fetchFromGitHub, makeWrapper, curl, spidermonkey }:
{ stdenv, fetchFromGitHub, makeWrapper, curl, recode, spidermonkey }:
stdenv.mkDerivation rec {
name = "plowshare4-${version}";
version = "1.1.0";
name = "plowshare-${version}";
version = "2.1.6";
src = fetchFromGitHub {
owner = "mcrapet";
repo = "plowshare";
rev = "v${version}";
sha256 = "1xxkdv4q97dfzbcdnmy5079a59fwh8myxlvdr2dlxdv70fb72sq9";
sha256 = "116291w0z1r61xm3a3zjlh85f05pk4ng9f1wbj9kv1j3xrjn4v4c";
};
buildInputs = [ makeWrapper ];
@ -19,8 +19,8 @@ stdenv.mkDerivation rec {
installPhase = ''
make PREFIX="$out" install
for fn in plow{del,down,list,up}; do
wrapProgram "$out/bin/$fn" --prefix PATH : "${stdenv.lib.makeBinPath [ curl spidermonkey ]}"
for fn in plow{del,down,list,mod,probe,up}; do
wrapProgram "$out/bin/$fn" --prefix PATH : "${stdenv.lib.makeBinPath [ curl recode spidermonkey ]}"
done
'';
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
A command-line download/upload tool for popular file sharing websites
'';
license = stdenv.lib.licenses.gpl3;
maintainers = [ stdenv.lib.maintainers.aforemny ];
maintainers = with stdenv.lib.maintainers; [ aforemny jfrankenau ];
platforms = stdenv.lib.platforms.linux;
};
}