depot/third_party/nixpkgs/pkgs/applications/audio/pd-plugins/puremapping/default.nix
Default email 07d6a74cbb Project import generated by Copybara.
GitOrigin-RevId: f5e8bdd07d1afaabf6b37afc5497b1e498b8046f
2021-03-19 18:17:44 +01:00

32 lines
875 B
Nix

{ lib, stdenv, fetchurl, unzip, puredata }:
stdenv.mkDerivation rec {
pname = "puremapping";
version = "20160130";
src = fetchurl {
url = "https://www.chnry.net/data/puremapping-${version}-generic.zip";
name = "puremapping";
sha256 = "1h7qgqd8srrxw2y1rkdw5js4k6f5vc8x6nlm2mq9mq9vjck7n1j7";
};
nativeBuildInputs = [ unzip ];
buildInputs = [ puredata ];
unpackPhase = ''
unzip $src
'';
installPhase = ''
mkdir -p $out/puremapping
mv puremapping/ $out
'';
meta = {
description = "Set of externals to facilitate the use of sensors within Pure Data and to create complex relations between input and output of a dynamic system";
homepage = "http://www.chnry.net/ch/?090-Pure-Mapping&lang=en";
license = lib.licenses.gpl1;
maintainers = [ lib.maintainers.magnetophon ];
platforms = lib.platforms.linux;
};
}