mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
present: fix crash caused by dependency (#348837)
This commit is contained in:
commit
2dbeda8d63
@ -1,5 +1,16 @@
|
|||||||
{ lib, python3Packages, fetchPypi }:
|
{ lib, python3Packages, fetchPypi }:
|
||||||
|
|
||||||
|
let
|
||||||
|
# https://github.com/NixOS/nixpkgs/issues/348788
|
||||||
|
mistune_2 = python3Packages.mistune.overridePythonAttrs(oldAttrs: rec {
|
||||||
|
version = "2.0.5";
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit (oldAttrs) pname;
|
||||||
|
inherit version;
|
||||||
|
hash = "sha256-AkYRPLJJLbh1xr5Wl0p8iTMzvybNkokchfYxUc7gnTQ=";
|
||||||
|
};
|
||||||
|
});
|
||||||
|
in
|
||||||
python3Packages.buildPythonPackage rec {
|
python3Packages.buildPythonPackage rec {
|
||||||
pname = "present";
|
pname = "present";
|
||||||
version = "0.6.0";
|
version = "0.6.0";
|
||||||
@ -14,7 +25,7 @@ python3Packages.buildPythonPackage rec {
|
|||||||
pyyaml
|
pyyaml
|
||||||
pyfiglet
|
pyfiglet
|
||||||
asciimatics
|
asciimatics
|
||||||
mistune
|
mistune_2
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "present" ];
|
pythonImportsCheck = [ "present" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user