catt: pin pychromecast at 13.1.0

This commit is contained in:
Martin Weinelt 2024-03-07 01:28:00 +01:00
parent 63f977ddb8
commit 6603af69da
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -4,7 +4,25 @@
, python3
}:
python3.pkgs.buildPythonApplication rec {
let
python = python3.override {
packageOverrides = self: super: {
pychromecast = super.pychromecast.overridePythonAttrs (_: rec {
version = "13.1.0";
src = fetchPypi {
pname = "PyChromecast";
inherit version;
hash = "sha256-COYai1S9IRnTyasewBNtPYVjqpfgo7V4QViLm+YMJnY=";
};
postPatch = "";
});
};
};
in
python.pkgs.buildPythonApplication rec {
pname = "catt";
version = "0.12.11";
format = "pyproject";
@ -22,11 +40,11 @@ python3.pkgs.buildPythonApplication rec {
})
];
nativeBuildInputs = with python3.pkgs; [
nativeBuildInputs = with python.pkgs; [
poetry-core
];
propagatedBuildInputs = with python3.pkgs; [
propagatedBuildInputs = with python.pkgs; [
click
ifaddr
pychromecast