···1{ lib, stdenv, fetchurl }:
23stdenv.mkDerivation {
4- name = "wavrsocvt-1.0.2.0";
056 src = fetchurl {
7 url = "http://bricxcc.sourceforge.net/wavrsocvt.tgz";
···1011 unpackPhase = ''
12 tar -zxf $src
13- '';
1415 installPhase = ''
16 mkdir -p $out/bin
17 cp wavrsocvt $out/bin
18- '';
1920 meta = with lib; {
21 description = "Convert .wav files into sound files for Lego NXT brick";
22 longDescription = ''
23- wavrsocvt is a command-line utility which can be used from a
24- terminal window or script to convert .wav files into sound
25- files for the NXT brick (.rso files). It can also convert the
26- other direction (i.e., .rso -> .wav). It can produce RSO files
27- with a sample rate between 2000 and 16000 (the min/max range of
28- supported sample rates in the standard NXT firmware).
29- You can then upload these with e.g. nxt-python.
30 '';
31 homepage = "http://bricxcc.sourceforge.net/";
32 license = licenses.mpl11;
···1{ lib, stdenv, fetchurl }:
23stdenv.mkDerivation {
4+ pname = "wavrsocvt";
5+ version = "1.0.2.0";
67 src = fetchurl {
8 url = "http://bricxcc.sourceforge.net/wavrsocvt.tgz";
···1112 unpackPhase = ''
13 tar -zxf $src
14+ '';
1516 installPhase = ''
17 mkdir -p $out/bin
18 cp wavrsocvt $out/bin
19+ '';
2021 meta = with lib; {
22 description = "Convert .wav files into sound files for Lego NXT brick";
23 longDescription = ''
24+ wavrsocvt is a command-line utility which can be used from a
25+ terminal window or script to convert .wav files into sound
26+ files for the NXT brick (.rso files). It can also convert the
27+ other direction (i.e., .rso -> .wav). It can produce RSO files
28+ with a sample rate between 2000 and 16000 (the min/max range of
29+ supported sample rates in the standard NXT firmware).
30+ You can then upload these with e.g. nxt-python.
31 '';
32 homepage = "http://bricxcc.sourceforge.net/";
33 license = licenses.mpl11;