From b2b9e68d1cfa5c419b6353caf09f376bd10bcf9a Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Tue, 14 Aug 2018 19:33:31 +0200 Subject: [PATCH] pythonPackages.dominate: init at 2.3.1 --- .../python-modules/dominate/default.nix | 20 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 22 insertions(+) create mode 100644 pkgs/development/python-modules/dominate/default.nix diff --git a/pkgs/development/python-modules/dominate/default.nix b/pkgs/development/python-modules/dominate/default.nix new file mode 100644 index 000000000000..86b3271990d5 --- /dev/null +++ b/pkgs/development/python-modules/dominate/default.nix @@ -0,0 +1,20 @@ +{ lib, buildPythonPackage, fetchPypi, isPy3k }: + +buildPythonPackage rec { + pname = "dominate"; + version = "2.3.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "0s9s9j9xmhkzw7apqx170fyvc0f800fd4a5jfn8xvj9k6vryd32b"; + }; + + doCheck = !isPy3k; + + meta = with lib; { + homepage = https://github.com/Knio/dominate/; + description = "Dominate is a Python library for creating and manipulating HTML documents using an elegant DOM API"; + license = licenses.lgpl3; + maintainers = with maintainers; [ ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index ceb92f292183..c54e5c962210 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -254,6 +254,8 @@ in { docrep = callPackage ../development/python-modules/docrep { }; + dominate = callPackage ../development/python-modules/dominate { }; + emcee = callPackage ../development/python-modules/emcee { }; email_validator = callPackage ../development/python-modules/email-validator { };