nixpkgs/pkgs/development/libraries/spandsp/default.nix
Adam Joseph 88cbe74d05 spandsp: refactor
The `spandsp` derivation has the clauses in the wrong order
(e.g. `makeFlags` before `configureFlags`) which makes it hard to
understand.

This commit fixes the clause order, factors out `common.nix` from
the two versions of spandsp, and also tries to normalize the coding
style.
2023-03-09 21:40:38 -08:00

19 lines
367 B
Nix

{ lib
, stdenv
, fetchurl
, audiofile
, libtiff
, buildPackages
, fetchpatch
, autoreconfHook
, callPackage
}:
(callPackage ./common.nix {}).overrideAttrs(_: rec {
version = "0.0.6";
src = fetchurl {
url = "https://www.soft-switch.org/downloads/spandsp/spandsp-${version}.tar.gz";
sha256 = "0rclrkyspzk575v8fslzjpgp4y2s4x7xk3r55ycvpi4agv33l1fc";
};
})