tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
0
fork
atom
overview
issues
pulls
pipelines
pythonPackages.bleak: 0.12.1 -> 0.13.0
Alvar Penning
4 years ago
580e5347
c910eaa8
+4
-6
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
bleak
default.nix
+4
-6
pkgs/development/python-modules/bleak/default.nix
reviewed
···
4
4
5
5
buildPythonPackage rec {
6
6
pname = "bleak";
7
7
-
version = "0.12.1";
7
7
+
version = "0.13.0";
8
8
9
9
disabled = !isPy3k;
10
10
11
11
src = fetchPypi {
12
12
inherit pname version;
13
13
-
sha256 = "1va9138igcgbpsnzgr90qwprmhr9h8lryqslc22jxra4r56a502a";
13
13
+
sha256 = "1vnwk36qfws9amqrdaynf63dcj2gzxm0ns1l75hrczmd5j2ic1zb";
14
14
};
15
15
16
16
postPatch = ''
17
17
-
# bleak checks BlueZ's version with a call to `bluetoothctl -v` twice
18
18
-
substituteInPlace bleak/__init__.py \
19
19
-
--replace \"bluetoothctl\" \"${bluez}/bin/bluetoothctl\"
20
20
-
substituteInPlace bleak/backends/bluezdbus/client.py \
17
17
+
# bleak checks BlueZ's version with a call to `bluetoothctl --version`
18
18
+
substituteInPlace bleak/backends/bluezdbus/__init__.py \
21
19
--replace \"bluetoothctl\" \"${bluez}/bin/bluetoothctl\"
22
20
'';
23
21