summary refs log tree commit diff
path: root/pkgs/development/python-modules/markupsafe/default.nix
blob: d48359af0fc388064426ffe3c8a59a4b470eba09 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ 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 ];
  };

}