mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
88cbe74d05
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.
19 lines
367 B
Nix
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";
|
|
};
|
|
})
|