pythonPackages.libsoundtouch: init at 0.3.0

This commit is contained in:
obadz 2017-05-07 01:38:59 +01:00
parent c1aa7b2051
commit ca0a4e2a9a
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,35 @@
{ buildPythonPackage
, fetchFromGitHub
, stdenv
, lib
, pythonOlder
, requests2
, enum34
}:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "libsoundtouch";
version = "0.3.0";
src = fetchFromGitHub {
owner = "CharlesBlonde";
repo = "libsoundtouch";
rev = "7c8f943298bcae5f0c25ad7be7469de51373cdbd";
sha256 = "1a9mdy09n4bjx6nang7wfn2nq87dg2s18px4yqsj53mn5kjf44n0";
};
postPatch = lib.optionalString (! (pythonOlder "3.4")) ''
substituteInPlace setup.py --replace "'enum34>=1.1.6'" ""
'';
propagatedBuildInputs = [ requests2 enum34 ];
doCheck = false;
meta = with stdenv.lib; {
description = "Bose Soundtouch Python library";
homepage = https://github.com/CharlesBlonde/libsoundtouch;
license = licenses.asl20;
};
}

View File

@ -7814,6 +7814,8 @@ in {
libsexy = pkgs.libsexy;
};
libsoundtouch = callPackage ../development/python-modules/libsoundtouch { };
libthumbor = buildPythonPackage rec {
name = "libthumbor-${version}";
version = "1.2.0";