···11{ lib, stdenv, fetchurl }:
2233stdenv.mkDerivation {
44- name = "wavrsocvt-1.0.2.0";
44+ pname = "wavrsocvt";
55+ version = "1.0.2.0";
5667 src = fetchurl {
78 url = "http://bricxcc.sourceforge.net/wavrsocvt.tgz";
···10111112 unpackPhase = ''
1213 tar -zxf $src
1313- '';
1414+ '';
14151516 installPhase = ''
1617 mkdir -p $out/bin
1718 cp wavrsocvt $out/bin
1818- '';
1919+ '';
19202021 meta = with lib; {
2122 description = "Convert .wav files into sound files for Lego NXT brick";
2223 longDescription = ''
2323- wavrsocvt is a command-line utility which can be used from a
2424- terminal window or script to convert .wav files into sound
2525- files for the NXT brick (.rso files). It can also convert the
2626- other direction (i.e., .rso -> .wav). It can produce RSO files
2727- with a sample rate between 2000 and 16000 (the min/max range of
2828- supported sample rates in the standard NXT firmware).
2929- You can then upload these with e.g. nxt-python.
2424+ wavrsocvt is a command-line utility which can be used from a
2525+ terminal window or script to convert .wav files into sound
2626+ files for the NXT brick (.rso files). It can also convert the
2727+ other direction (i.e., .rso -> .wav). It can produce RSO files
2828+ with a sample rate between 2000 and 16000 (the min/max range of
2929+ supported sample rates in the standard NXT firmware).
3030+ You can then upload these with e.g. nxt-python.
3031 '';
3132 homepage = "http://bricxcc.sourceforge.net/";
3233 license = licenses.mpl11;