nixpkgs/pkgs/development/libraries/sonic/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

26 lines
651 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "sonic-${version}";
version = "2016-03-01";
src = fetchFromGitHub {
owner = "waywardgeek";
repo = "sonic";
rev = "71bdf26c55716a45af50c667c0335a9519e952dd";
sha256 = "1kcl8fdf92kafmfhvyjal5gvkn99brkjyzbi9gw3rd5b30m3xz2b";
};
postPatch = ''
sed -i "s,^PREFIX=.*,PREFIX=$out," Makefile
'';
meta = with stdenv.lib; {
description = "Simple library to speed up or slow down speech";
homepage = https://github.com/waywardgeek/sonic;
license = licenses.asl20;
maintainers = with maintainers; [ aske ];
platforms = platforms.linux;
};
}