mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
lektor: pin mistune at 2.0.5
This commit is contained in:
parent
98152f67b9
commit
19657c7fd6
@ -1,13 +1,25 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, fetchNpmDeps
|
||||
, fetchPypi
|
||||
, nodejs
|
||||
, npmHooks
|
||||
, python3
|
||||
}:
|
||||
|
||||
let
|
||||
python = python3;
|
||||
python = python3.override {
|
||||
packageOverrides = self: super: {
|
||||
mistune = super.mistune.overridePythonAttrs (old: rec {
|
||||
version = "2.0.5";
|
||||
src = fetchPypi {
|
||||
inherit (old) pname;
|
||||
inherit version;
|
||||
hash = "sha256-AkYRPLJJLbh1xr5Wl0p8iTMzvybNkokchfYxUc7gnTQ=";
|
||||
};
|
||||
});
|
||||
};
|
||||
};
|
||||
in python.pkgs.buildPythonApplication rec {
|
||||
pname = "lektor";
|
||||
version = "3.4.0b8";
|
||||
|
Loading…
Reference in New Issue
Block a user