heisenbridge: 1.8.2 -> 1.10.0

This commit is contained in:
Sumner Evans 2022-01-14 18:43:40 -07:00
parent b65da09204
commit f51b5782da
No known key found for this signature in database
GPG key ID: 8904527AB50022FD

View file

@ -1,44 +1,28 @@
{ lib, fetchFromGitHub, fetchpatch, python3 }:
let
python = python3.override {
packageOverrides = self: super: {
mautrix_0_13 = self.mautrix.overridePythonAttrs (oldAttrs: rec {
version = "0.13.3";
src = oldAttrs.src.override {
inherit (oldAttrs) pname;
inherit version;
sha256 = "1e4a292469f3e200c182aaa5bf693a5c3834b2a0cfb3d29e4c9a1559db7740e3";
};
});
};
};
in
python.pkgs.buildPythonApplication rec {
python3.pkgs.buildPythonApplication rec {
pname = "heisenbridge";
version = "1.8.2";
version = "1.10.0";
src = fetchFromGitHub {
owner = "hifi";
repo = pname;
rev = "v${version}";
sha256 = "173prcd56rwlxjxlw67arnm12k1l317xi5s6m7jhmp8zbbrj5vwr";
sha256 = "sha256-rQBmg1CBourj/dDJ7P108gGMRdXWp6nwvHIBiQbJLQ0=";
};
postPatch = ''
echo "${version}" > heisenbridge/version.txt
'';
propagatedBuildInputs = with python.pkgs; [
propagatedBuildInputs = with python3.pkgs; [
aiohttp
irc
mautrix_0_13
mautrix
python-socks
pyyaml
];
checkInputs = with python.pkgs; [
checkInputs = with python3.pkgs; [
pytestCheckHook
];