29 lines
561 B
Nix
29 lines
561 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "MarkupSafe";
|
|
version = "2.0.1";
|
|
disabled = pythonOlder "3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "02k2ynmqvvd0z0gakkf8s4idyb606r7zgga41jrkhqmigy06fk2r";
|
|
};
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Implements a XML/HTML/XHTML Markup safe string";
|
|
homepage = "http://dev.pocoo.org";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ domenkozar ];
|
|
};
|
|
|
|
}
|