diff options
author | Luca Bruno <lucabru@src.gnome.org> | 2016-08-30 11:41:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-30 11:41:08 +0200 |
commit | 5c5fd1cb606c050c191457f57ecbc4a82db9c149 (patch) | |
tree | e16646ab26ac831c985abac9ddfb575d0882f2e9 | |
parent | cca72718b33132b8af16861d2573cb21c81401b3 (diff) | |
parent | fe87145c58398ee94c8a698e7deb9b0f60db998d (diff) | |
download | nixpkgs-5c5fd1cb606c050c191457f57ecbc4a82db9c149.tar nixpkgs-5c5fd1cb606c050c191457f57ecbc4a82db9c149.tar.gz nixpkgs-5c5fd1cb606c050c191457f57ecbc4a82db9c149.tar.bz2 nixpkgs-5c5fd1cb606c050c191457f57ecbc4a82db9c149.tar.lz nixpkgs-5c5fd1cb606c050c191457f57ecbc4a82db9c149.tar.xz nixpkgs-5c5fd1cb606c050c191457f57ecbc4a82db9c149.tar.zst nixpkgs-5c5fd1cb606c050c191457f57ecbc4a82db9c149.zip |
Merge pull request #18096 from leenaars/wavrsocvt
wavrsocvt: init at 1.0.2.0
-rw-r--r-- | pkgs/applications/misc/audio/wavrsocvt/default.nix | 38 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 40 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2224bd143eb..ce729284632 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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; |