mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +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.
21 lines
454 B
Nix
21 lines
454 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, audiofile
|
|
, libtiff
|
|
, autoreconfHook
|
|
, fetchpatch
|
|
, buildPackages
|
|
, callPackage
|
|
}:
|
|
|
|
(callPackage ./common.nix {}).overrideAttrs(finalAttrs: {
|
|
version = "3.0.0";
|
|
src = fetchFromGitHub {
|
|
owner = "freeswitch";
|
|
repo = finalAttrs.pname;
|
|
rev = "6ec23e5a7e411a22d59e5678d12c4d2942c4a4b6"; # upstream does not seem to believe in tags
|
|
sha256 = "03w0s99y3zibi5fnvn8lk92dggfgrr0mz5255745jfbz28b2d5y7";
|
|
};
|
|
})
|