fix: Use correct versions of pyyaml and mistune

This commit is contained in:
lwad 2024-03-05 12:57:02 +00:00
parent 97992e199c
commit f0e4a0dfb8
1 changed files with 25 additions and 2 deletions

View File

@ -15,8 +15,31 @@
hash = "sha256-blmBPNa9xp6C3Xp5uyrBroKInpNDxJnWuxj3eoUkLes=";
};
propagatedBuildInputs =
[ click marshmallow mistune pygments pyyaml urwid ];
propagatedBuildInputs = [
click
marshmallow
(mistune.overrideAttrs (old: rec {
version = "0.8.4";
src = pkgs.fetchFromGitHub {
owner = "lepture";
repo = "mistune";
rev = "refs/tags/v${version}";
hash = "sha256-H9L2cJZVWvcbcWAF8ZMLGJGE7DO1h2wNZCbeFA02p7g=";
};
}))
pygments
(pyyaml.overrideAttrs (old: rec {
version = "5.4.1";
src = pkgs.fetchFromGitHub {
owner = "yaml";
repo = "pyyaml";
rev = version;
hash = "sha256-qLdAMqoyEXRIqcNuHBBtST8GWh5gmx5fBU/q3f4zaOw=";
};
installCheckPhase = "";
}))
urwid
];
pythonImportsCheck = [ "lookatme" ];