2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-15 22:18:52 +01:00
|
|
|
, buildPythonPackage
|
2021-06-02 19:09:31 +01:00
|
|
|
, pythonOlder
|
2018-10-15 22:18:52 +01:00
|
|
|
, fetchPypi
|
2021-06-02 19:09:31 +01:00
|
|
|
, pytestCheckHook
|
2018-10-15 22:18:52 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-07-03 13:46:47 +01:00
|
|
|
pname = "markupsafe";
|
2021-06-02 19:09:31 +01:00
|
|
|
version = "2.0.1";
|
|
|
|
disabled = pythonOlder "3.6";
|
2018-10-15 22:18:52 +01:00
|
|
|
|
2021-06-02 19:09:31 +01:00
|
|
|
src = fetchPypi {
|
2021-07-03 13:46:47 +01:00
|
|
|
pname = "MarkupSafe";
|
|
|
|
inherit version;
|
2021-06-02 19:09:31 +01:00
|
|
|
sha256 = "02k2ynmqvvd0z0gakkf8s4idyb606r7zgga41jrkhqmigy06fk2r";
|
2018-10-15 22:18:52 +01:00
|
|
|
};
|
|
|
|
|
2021-06-02 19:09:31 +01:00
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
2021-07-03 13:46:47 +01:00
|
|
|
pythonImportsCheck = [ "markupsafe" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-15 22:18:52 +01:00
|
|
|
description = "Implements a XML/HTML/XHTML Markup safe string";
|
2021-07-03 13:46:47 +01:00
|
|
|
homepage = "https://palletsprojects.com/p/markupsafe/";
|
2018-10-15 22:18:52 +01:00
|
|
|
license = licenses.bsd3;
|
2019-07-03 10:27:39 +01:00
|
|
|
maintainers = with maintainers; [ domenkozar ];
|
2018-10-15 22:18:52 +01:00
|
|
|
};
|
|
|
|
}
|