plowshare: upgrade spidermonkey dependency; modernize (#437494)
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
makeWrapper,
|
||||
makeBinaryWrapper,
|
||||
curl,
|
||||
recode,
|
||||
spidermonkey_115,
|
||||
spidermonkey_140,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -17,10 +17,10 @@ stdenv.mkDerivation rec {
|
||||
owner = "mcrapet";
|
||||
repo = "plowshare";
|
||||
rev = "v${version}";
|
||||
sha256 = "1p8s60dlzaldp006yj710s371aan915asyjhd99188vrj4jj1x79";
|
||||
hash = "sha256-6fQgJZF5IxRSalB6rUpIVqlwhgbhSG8AuI2qTxswGt0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
nativeBuildInputs = [ makeBinaryWrapper ];
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
@@ -32,16 +32,15 @@ stdenv.mkDerivation rec {
|
||||
lib.makeBinPath [
|
||||
curl
|
||||
recode
|
||||
spidermonkey_115
|
||||
spidermonkey_140
|
||||
]
|
||||
}"
|
||||
done
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = ''
|
||||
A command-line download/upload tool for popular file sharing websites
|
||||
'';
|
||||
description = "Command-line download/upload tool for popular file sharing websites";
|
||||
homepage = "https://github.com/mcrapet/plowshare";
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = with lib.maintainers; [ aforemny ];
|
||||
platforms = lib.platforms.linux;
|
||||
|
||||
Reference in New Issue
Block a user