Merge pull request #147024 from sumnerevans/heisenbridge-1.7.1
This commit is contained in:
commit
ae167a9881
@ -1,16 +1,24 @@
|
|||||||
{ lib, fetchFromGitHub, python3Packages }:
|
{ lib, fetchFromGitHub, fetchpatch, python3Packages }:
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "heisenbridge";
|
pname = "heisenbridge";
|
||||||
version = "1.7.0";
|
version = "1.7.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hifi";
|
owner = "hifi";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-rN+qoBS9zIy5EHlFQxgAlcz9haoYJNMKJ2wlS46UOi0=";
|
sha256 = "sha256-q1Rj8BehvYnV/Kah5YKAxBUz4j9WziSqn1fVeaKpy7g=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Compatibility with aiohttp 3.8.0
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/hifi/heisenbridge/commit/cff5d33e0b617e6cf3a44dc00c72b98743175c9e.patch";
|
||||||
|
sha256 = "sha256-y5X4mWvX1bq0XNZNTYUc0iK3SzvaHpS7px53I7xC9c8=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
echo "${version}" > heisenbridge/version.txt
|
echo "${version}" > heisenbridge/version.txt
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user