File tree 2 files changed +37
-0
lines changed
development/python-modules/libsoundtouch
2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ { buildPythonPackage
2
+ , fetchFromGitHub
3
+ , stdenv
4
+ , lib
5
+ , pythonOlder
6
+ , requests2
7
+ , enum34
8
+ } :
9
+
10
+ buildPythonPackage rec {
11
+ name = "${ pname } -${ version } " ;
12
+ pname = "libsoundtouch" ;
13
+ version = "0.3.0" ;
14
+
15
+ src = fetchFromGitHub {
16
+ owner = "CharlesBlonde" ;
17
+ repo = "libsoundtouch" ;
18
+ rev = "7c8f943298bcae5f0c25ad7be7469de51373cdbd" ;
19
+ sha256 = "1a9mdy09n4bjx6nang7wfn2nq87dg2s18px4yqsj53mn5kjf44n0" ;
20
+ } ;
21
+
22
+ postPatch = lib . optionalString ( ! ( pythonOlder "3.4" ) ) ''
23
+ substituteInPlace setup.py --replace "'enum34>=1.1.6'" ""
24
+ '' ;
25
+
26
+ propagatedBuildInputs = [ requests2 enum34 ] ;
27
+
28
+ doCheck = false ;
29
+
30
+ meta = with stdenv . lib ; {
31
+ description = "Bose Soundtouch Python library" ;
32
+ homepage = https://github.com/CharlesBlonde/libsoundtouch ;
33
+ license = licenses . asl20 ;
34
+ } ;
35
+ }
Original file line number Diff line number Diff line change @@ -7814,6 +7814,8 @@ in {
7814
7814
libsexy = pkgs.libsexy;
7815
7815
};
7816
7816
7817
+ libsoundtouch = callPackage ../development/python-modules/libsoundtouch { };
7818
+
7817
7819
libthumbor = buildPythonPackage rec {
7818
7820
name = "libthumbor-${version}";
7819
7821
version = "1.2.0";
You can’t perform that action at this time.
0 commit comments