summary refs log tree commit diff
path: root/pkgs/applications/audio/pd-plugins/puremapping/default.nix
blob: 7a5014664d556526478f564905628447e8b361a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ 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";
  };

  buildInputs = [ unzip 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 = stdenv.lib.licenses.gpl1;
    maintainers = [ stdenv.lib.maintainers.magnetophon ];
    platforms = stdenv.lib.platforms.linux;
  };
}