Commit Graph

44 Commits

Author SHA1 Message Date
Ben Siraphob
5d566c43b4 pkgs/applications: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
Ben Siraphob
108bdac3d9 pkgs/applications: stdenv.lib -> lib 2021-01-15 14:24:03 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Ben Siraphob
3496ce2a0c treewide: remove trailing whitespaces 2021-01-01 10:41:04 -08:00
Timo Kaufmann
cb5a4de2b9
Merge pull request #90172 from AluisioASG/aasg/sox-wv
sox: Add WavPack support
2020-10-01 17:21:06 +02:00
Markus Kowalewski
7f0fde0822
wavesurfer: fix license 2020-06-26 10:49:33 +02:00
Aluísio Augusto Silva Gonçalves
09f5becdd0
sox: Add WavPack support
r128gain's tests include processing some WavPack files with sox.  Allow
opting into linking with wavpack so those tests can be run.
2020-06-12 03:30:46 -03:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Anders Kaseorg
3cd8ce3bce treewide: Fix unsafe concatenation of $LD_LIBRARY_PATH
Naive concatenation of $LD_LIBRARY_PATH can result in an empty
colon-delimited segment; this tells glibc to load libraries from the
current directory, which is definitely wrong, and may be a security
vulnerability if the current directory is untrusted.  (See #67234, for
example.)  Fix this throughout the tree.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2020-01-15 09:47:03 +01:00
Artemis Tosini
508555518d
sox: Add option to include opus support
Many other distributions include opus support in their sox
distributions. This patch makes such an option, and sets it
to be enabled by default. This works when ogg is disabled as
as well as when ogg is enabled.
2019-04-29 14:23:39 +00:00
Väinö Järvelä
3cc74c3a7c Add CoreAudio to sox on macOS
Otherwise no audio devices are available for recording and playback on
macOS.
2019-03-18 20:17:40 +02:00
Jan Malakhovski
5bcd73c73b sox: move defaults to package file 2019-02-03 15:33:32 +00:00
Silvan Mosberger
57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00
Ryan Mulligan
06a239e3a0 soxr: 0.1.2 -> 0.1.3
Semi-automatic update. These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 0.1.3 with grep in /nix/store/n6as7dvjq9vlsri84smc05yjmdvwmxww-soxr-0.1.3
- found 0.1.3 in filename of file in /nix/store/n6as7dvjq9vlsri84smc05yjmdvwmxww-soxr-0.1.3
2018-03-09 13:31:31 -08:00
Eric Litak
92a8c86647 sox: added enableLibpulseaudio option 2017-03-24 07:55:04 -07:00
Michiel Leenaars
fe87145c58 wavrsocvt: init at 1.0.2.0 2016-08-29 22:57:14 +02:00
Tuomas Tynkkynen
74a3a2cd7e treewide: Use makeBinPath 2016-08-23 01:18:10 +03:00
Tuomas Tynkkynen
21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00
Vladimír Čunát
6c75f4c9aa imagemagick, soxr, fftw, libraw: remove explicit gcc.lib
It is no longer needed after cc-wrapper fixes.
2015-10-28 10:17:07 +01:00
Vladimír Čunát
968567c6e5 soxr: split away the documentation 2015-10-13 20:18:54 +02:00
Vladimír Čunát
5227fb1dd5 Merge commit staging+systemd into closure-size
Many non-conflict problems weren't (fully) resolved in this commit yet.
2015-10-03 13:33:37 +02:00
William A. Kennington III
5c4ad05f96 soxr: 0.1.1 -> 0.1.2 2015-09-24 16:15:31 -07:00
taku0
e48c2d520e sox: enable libsndfile, amr-nb, amr-wb (close #9824) 2015-09-22 08:11:04 +02:00
taku0
cec63e87a2 sox: 14.4.1 -> 14.4.2 2015-09-12 20:49:41 +09:00
Shea Levy
145768bf9b Unmaintain a bunch of packages 2015-07-01 08:11:05 -04:00
Vladimír Čunát
082843bdeb soxr, libraw, fftw, imagemagick: fix build by a hack 2015-04-21 09:59:37 +02:00
Spencer Whitt
1148374cb5 soxr: Fix Darwin build 2015-03-27 01:58:32 -04:00
James Cook
721635b0dd sox: Change homepage
The page at mega-nerd.com does not seem to be about sox at all.
2015-02-15 00:36:42 -08:00
James Cook
cf11e28599 sox: Patches for CVE-2014-8145
Found via RedHat bug 1174792.  It was not clear whether these address a
NULL dereference and a division by zero.
2015-02-15 00:12:29 -08:00
aszlig
0ffa7dc0f2
sox: Enable support for FLAC and PNG.
In case you wonder: PNG support is needed for example to generate
spectograms.

For example:

sox shiny-song.flac -n spectrogram -o even-shinier.png

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-08-29 20:21:10 +02:00
Eelco Dolstra
7cfb9545c6 sox: Fix building on Darwin
Fixes #3493.
2014-08-08 18:16:56 +02:00
Mateusz Kowalczyk
7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Shea Levy
ff6febb75d sox: Update, get rid of composableDerivation 2014-03-24 12:01:20 -04:00
Vladimír Čunát
7cfdfda910 audacity: minor update, prefer system-wide libs
- Using system-wide libs where we have them (except for portaudio, which
  I couldn't make work).
- Add the soxr library (now the preferred way of audio resampling).
2013-06-04 11:37:43 +02:00
Eelco Dolstra
c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00
Eelco Dolstra
4bf5b0d36b * Fix some more "args: with args".
svn path=/nixpkgs/trunk/; revision=22828
2010-07-30 14:47:23 +00:00
Eelco Dolstra
6609710409 * Get rid of many instances of "args: with args;", and other coding
guidelines violations.
* Updated libsamplerate to 0.1.7.

svn path=/nixpkgs/trunk/; revision=22782
2010-07-28 11:55:54 +00:00
Marc Weber
523d1b8216 updating sox, adding maintainer, enabling mp3 support
svn path=/nixpkgs/trunk/; revision=17864
2009-10-18 04:43:56 +00:00
Eelco Dolstra
d3f5d94ac7 * Fix some attributes that now make nix-env -q --meta barf.
svn path=/nixpkgs/trunk/; revision=16134
2009-07-02 09:08:01 +00:00
Marc Weber
b56ed35851 replacing applyAndFun by lib.defaultOverridableDelayableArgs
applyAndFun has a bug resulting in the same arg beeing added more than
once when using a concatenating merge function for the attr set.

I've tried giving the function a name "overridableDelayableArgs" which
resembles its usage much more.

important refactoring:
  applyAndFun had .fun and .funMerge only when passing the merge
  function lib.mergeOrApply

  composableDerivation {
    initial = {
      ...
    };
  }

to

  overridableDelayableArgs has always .replace and .merge
  composableDerivation {} {
    ...
  }

svn path=/nixpkgs/trunk/; revision=14428
2009-03-06 23:21:28 +00:00
Marc Weber
e996113be7 removed mkDerivationByConfiguration, using composableDerivation instead
qgis, vim_configurable both work now

svn path=/nixpkgs/trunk/; revision=13661
2008-12-20 01:20:35 +00:00
Marc Weber
32e2dbf87f added wavesurfer (sound analysis tool) and its dependency snack (tcl /python sound tool library)
svn path=/nixpkgs/trunk/; revision=12904
2008-09-24 00:42:06 +00:00
Michael Raskin
41ecc6941b svn path=/nixpkgs/trunk/; revision=9861 2007-12-04 22:06:13 +00:00
Marc Weber
e87c6a6793 sox, ffmpeg_svn expressions added
ghcPkgUtil defines a function to create setup-hook 
- creating a packagedatabase (nix-support/package.conf)
- adding it to GHC_PACKAGE_PATH
see comments for details

svn path=/nixpkgs/trunk/; revision=9500
2007-10-22 00:51:40 +00:00