pythonPackages.libsoundtouch: init at 0.3.0
This commit is contained in:
parent
c1aa7b2051
commit
ca0a4e2a9a
35
pkgs/development/python-modules/libsoundtouch/default.nix
Normal file
35
pkgs/development/python-modules/libsoundtouch/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -7814,6 +7814,8 @@ in {
|
||||
libsexy = pkgs.libsexy;
|
||||
};
|
||||
|
||||
libsoundtouch = callPackage ../development/python-modules/libsoundtouch { };
|
||||
|
||||
libthumbor = buildPythonPackage rec {
|
||||
name = "libthumbor-${version}";
|
||||
version = "1.2.0";
|
||||
|
Loading…
Reference in New Issue
Block a user