mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
Merge pull request #18096 from leenaars/wavrsocvt
wavrsocvt: init at 1.0.2.0
This commit is contained in:
commit
5c5fd1cb60
38
pkgs/applications/misc/audio/wavrsocvt/default.nix
Normal file
38
pkgs/applications/misc/audio/wavrsocvt/default.nix
Normal file
@ -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;
|
||||
};
|
||||
}
|
@ -13084,6 +13084,8 @@ in
|
||||
|
||||
wavesurfer = callPackage ../applications/misc/audio/wavesurfer { };
|
||||
|
||||
wavrsocvt = callPackage ../applications/misc/audio/wavrsocvt { };
|
||||
|
||||
wireshark-cli = callPackage ../applications/networking/sniffers/wireshark {
|
||||
withQt = false;
|
||||
withGtk = false;
|
||||
|
Loading…
Reference in New Issue
Block a user