supercolliderPlugins.sc3-plugins: add updateScript and enable strictDeps

This commit is contained in:
Lily Foster 2022-10-24 07:44:16 -04:00
parent 5f23588988
commit fb4b504b00
No known key found for this signature in database
GPG key ID: 49340081E484C893

View file

@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, cmake, supercollider, fftw }:
{ stdenv, lib, fetchurl, cmake, supercollider, fftw, gitUpdater }:
stdenv.mkDerivation rec {
pname = "sc3-plugins";
@ -9,6 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "sha256-JjUmu7PJ+x3yRibr+Av2gTREng51fPo7Rk+B4y2JvkQ=";
};
strictDeps = true;
nativeBuildInputs = [ cmake ];
buildInputs = [
@ -23,6 +25,12 @@ stdenv.mkDerivation rec {
stripDebugList = [ "lib" "share" ];
passthru.updateScript = gitUpdater {
url = "https://github.com/supercollider/sc3-plugins.git";
rev-prefix = "Version-";
ignoredVersions = "rc|beta";
};
meta = with lib; {
description = "Community plugins for SuperCollider";
homepage = "https://supercollider.github.io/sc3-plugins/";