mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
Merge pull request #26955 from jfrankenau/plowshare-2.1.6
plowshare: 1.1.0 -> 2.1.6
This commit is contained in:
commit
dcbf2fd315
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue