3
0
Fork 0
forked from mirrors/nixpkgs

khal: override urwid

This commit is contained in:
Fabian Affolter 2024-01-24 13:11:11 +01:00
parent 9038698213
commit 001dfac4c8

View file

@ -6,7 +6,27 @@
, python3 , python3
}: }:
python3.pkgs.buildPythonApplication rec { let
py = python3.override {
packageOverrides = self: super: {
# Doesn't work with latest urwid
urwid = super.urwid.overridePythonAttrs (oldAttrs: rec {
version = "2.1.2";
src = fetchFromGitHub {
owner = "urwid";
repo = "urwid";
rev = "refs/tags/${version}";
hash = "sha256-oPb2h/+gaqkZTXIiESjExMfBNnOzDvoMkXvkZ/+KVwo=";
};
doCheck = false;
});
};
};
in
with py.pkgs;
buildPythonApplication rec {
pname = "khal"; pname = "khal";
version = "0.11.2"; version = "0.11.2";
pyproject = true; pyproject = true;
@ -28,7 +48,7 @@ python3.pkgs.buildPythonApplication rec {
sphinxcontrib-newsfeed sphinxcontrib-newsfeed
]); ]);
propagatedBuildInputs = with python3.pkgs;[ propagatedBuildInputs = with py.pkgs;[
atomicwrites atomicwrites
click click
click-log click-log