python2Packages.markupsafe: reinit at 1.1.1

This commit is contained in:
Martin Weinelt 2021-06-02 23:29:47 +02:00 committed by Jonathan Ringer
parent c782a11715
commit 8f0f982626
No known key found for this signature in database
GPG key ID: 5C841D3CFDFEC4E0
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,22 @@
{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "MarkupSafe";
version = "1.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "29872e92839765e546828bb7754a68c418d927cd064fd4708fab9fe9c8bb116b";
};
meta = with lib; {
description = "Implements a XML/HTML/XHTML Markup safe string";
homepage = "http://dev.pocoo.org";
license = licenses.bsd3;
maintainers = with maintainers; [ domenkozar ];
};
}

View file

@ -256,6 +256,8 @@ with self; with super; {
markdown = callPackage ../development/python-modules/markdown/3_1.nix { };
markupsafe = callPackage ../development/python-modules/markupsafe/1.nix { };
matplotlib = callPackage ../development/python-modules/matplotlib/2.nix {
stdenv = if stdenv.isDarwin then pkgs.clangStdenv else pkgs.stdenv;
inherit (pkgs.darwin.apple_sdk.frameworks) Cocoa;