mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 23:20:55 +00:00
pythonPackages.markupsafe: refactor move to python-modules
This commit is contained in:
parent
03a19a19d9
commit
d5fa9ee541
22
pkgs/development/python-modules/markupsafe/default.nix
Normal file
22
pkgs/development/python-modules/markupsafe/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "MarkupSafe";
|
||||
version = "1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0rdn1s8x9ni7ss8rfiacj7x1085lx8mh2zdwqslnw8xc3l4nkgm6";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Implements a XML/HTML/XHTML Markup safe string";
|
||||
homepage = http://dev.pocoo.org;
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ domenkozar garbas ];
|
||||
};
|
||||
|
||||
}
|
|
@ -5799,22 +5799,7 @@ in {
|
|||
|
||||
marisa-trie = callPackage ../development/python-modules/marisa-trie { };
|
||||
|
||||
markupsafe = buildPythonPackage rec {
|
||||
name = "markupsafe-${version}";
|
||||
version = "1.0";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/M/MarkupSafe/MarkupSafe-${version}.tar.gz";
|
||||
sha256 = "0rdn1s8x9ni7ss8rfiacj7x1085lx8mh2zdwqslnw8xc3l4nkgm6";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Implements a XML/HTML/XHTML Markup safe string";
|
||||
homepage = http://dev.pocoo.org;
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ domenkozar garbas ];
|
||||
};
|
||||
};
|
||||
markupsafe = callPackage ../development/python-modules/markupsafe { };
|
||||
|
||||
marshmallow = callPackage ../development/python-modules/marshmallow { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue