Unverified Commit eec59732 authored by dish's avatar dish Committed by GitHub
Browse files

plowshare: upgrade spidermonkey dependency; modernize (#437494)

parents 6ce2565d abd9ac8e
Loading
Loading
Loading
Loading
+7 −8
Original line number Diff line number Diff line
@@ -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;