diff options
author | Michiel Leenaars <ml.software@leenaa.rs> | 2016-08-29 22:05:29 +0200 |
---|---|---|
committer | Michiel Leenaars <ml.software@leenaa.rs> | 2016-08-29 22:57:14 +0200 |
commit | fe87145c58398ee94c8a698e7deb9b0f60db998d (patch) | |
tree | 3dbd5aefef40901385dbdab2d13ee7a1fe43facd /pkgs/applications/misc/audio | |
parent | b71d71c576df3dbac8af76241260246010e08536 (diff) | |
download | nixpkgs-fe87145c58398ee94c8a698e7deb9b0f60db998d.tar nixpkgs-fe87145c58398ee94c8a698e7deb9b0f60db998d.tar.gz nixpkgs-fe87145c58398ee94c8a698e7deb9b0f60db998d.tar.bz2 nixpkgs-fe87145c58398ee94c8a698e7deb9b0f60db998d.tar.lz nixpkgs-fe87145c58398ee94c8a698e7deb9b0f60db998d.tar.xz nixpkgs-fe87145c58398ee94c8a698e7deb9b0f60db998d.tar.zst nixpkgs-fe87145c58398ee94c8a698e7deb9b0f60db998d.zip |
wavrsocvt: init at 1.0.2.0
Diffstat (limited to 'pkgs/applications/misc/audio')
-rw-r--r-- | pkgs/applications/misc/audio/wavrsocvt/default.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/applications/misc/audio/wavrsocvt/default.nix b/pkgs/applications/misc/audio/wavrsocvt/default.nix new file mode 100644 index 00000000000..09b75e27d46 --- /dev/null +++ b/pkgs/applications/misc/audio/wavrsocvt/default.nix @@ -0,0 +1,38 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation { + name = "wavrsocvt-1.0.2.0"; + + src = fetchurl { + url = "http://bricxcc.sourceforge.net/wavrsocvt.tgz"; + sha256 = "15qlvdfwbiclljj7075ycm78yzqahzrgl4ky8pymix5179acm05h"; + }; + + phases = [ "unpackPhase" "installPhase" ]; + + unpackPhase = '' + tar -zxf $src + ''; + + installPhase = '' + mkdir -p $out/bin + cp wavrsocvt $out/bin + ''; + + meta = with stdenv.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. + ''; + homepage = http://bricxcc.sourceforge.net/; + license = licenses.mpl11; + maintainers = with maintainers; [ leenaars ]; + platforms = with platforms; linux; + }; +} |