nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 27 lines 797 B view raw
1{ 2 fetchurl, 3 fetchpatch, 4 callPackage, 5}: 6 7(callPackage ./common.nix { }) rec { 8 version = "0.0.6"; 9 src = fetchurl { 10 url = "https://www.soft-switch.org/downloads/spandsp/spandsp-${version}.tar.gz"; 11 sha256 = "0rclrkyspzk575v8fslzjpgp4y2s4x7xk3r55ycvpi4agv33l1fc"; 12 }; 13 patches = [ 14 (fetchpatch { 15 url = "https://github.com/freeswitch/spandsp/commit/f7b96b08db148763039cf3459d0e00da9636eb92.patch"; 16 includes = [ 17 "spandsp-sim/g1050.c" 18 "spandsp-sim/test_utils.c" 19 ]; 20 hash = "sha256-2MmVgyMUK0Zn+mL7IX57Y7brYpgmt4GVlis5/NstuNM="; 21 }) 22 (fetchpatch { 23 url = "https://github.com/freeswitch/spandsp/commit/f47bcdc301fbddad44e918939eed1b361882f740.patch"; 24 hash = "sha256-O+lIC3V92GVFoiHsUQOXkoTN2hJ7v5+LQP7RrAhvwlY="; 25 }) 26 ]; 27}