diff options
Diffstat (limited to 'pkgs/applications/misc/audio/wavrsocvt/default.nix')
-rw-r--r-- | pkgs/applications/misc/audio/wavrsocvt/default.nix | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/pkgs/applications/misc/audio/wavrsocvt/default.nix b/pkgs/applications/misc/audio/wavrsocvt/default.nix index 6b09a2e38d8c0..10aac715b48ac 100644 --- a/pkgs/applications/misc/audio/wavrsocvt/default.nix +++ b/pkgs/applications/misc/audio/wavrsocvt/default.nix @@ -1,7 +1,8 @@ { lib, stdenv, fetchurl }: stdenv.mkDerivation { - name = "wavrsocvt-1.0.2.0"; + pname = "wavrsocvt"; + version = "1.0.2.0"; src = fetchurl { url = "http://bricxcc.sourceforge.net/wavrsocvt.tgz"; @@ -10,23 +11,23 @@ stdenv.mkDerivation { unpackPhase = '' tar -zxf $src - ''; + ''; installPhase = '' mkdir -p $out/bin cp wavrsocvt $out/bin - ''; + ''; meta = with lib; { description = "Convert .wav files into sound files for Lego NXT brick"; longDescription = '' - wavrsocvt is a command-line utility which can be used from a - terminal window or script to convert .wav files into sound - files for the NXT brick (.rso files). It can also convert the - other direction (i.e., .rso -> .wav). It can produce RSO files - with a sample rate between 2000 and 16000 (the min/max range of - supported sample rates in the standard NXT firmware). - You can then upload these with e.g. nxt-python. + wavrsocvt is a command-line utility which can be used from a + terminal window or script to convert .wav files into sound + files for the NXT brick (.rso files). It can also convert the + other direction (i.e., .rso -> .wav). It can produce RSO files + with a sample rate between 2000 and 16000 (the min/max range of + supported sample rates in the standard NXT firmware). + You can then upload these with e.g. nxt-python. ''; homepage = "http://bricxcc.sourceforge.net/"; license = licenses.mpl11; |