From ce84dbdc6d76ac735bf8221369433ce45e7a4400 Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov Date: Mon, 29 Oct 2018 10:29:37 -0400 Subject: [PATCH] pythonPackages.zope_i18nmessageid: refactor move to python-modules --- .../zope_i18nmessageid/default.nix | 22 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 14 +----------- 2 files changed, 23 insertions(+), 13 deletions(-) create mode 100644 pkgs/development/python-modules/zope_i18nmessageid/default.nix diff --git a/pkgs/development/python-modules/zope_i18nmessageid/default.nix b/pkgs/development/python-modules/zope_i18nmessageid/default.nix new file mode 100644 index 000000000000..70e3f3fb0180 --- /dev/null +++ b/pkgs/development/python-modules/zope_i18nmessageid/default.nix @@ -0,0 +1,22 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + pname = "zope.i18nmessageid"; + version = "4.0.3"; + + src = fetchPypi { + inherit pname version; + sha256 = "1rslyph0klk58dmjjy4j0jxy21k03azksixc3x2xhqbkv97cmzml"; + }; + + meta = with stdenv.lib; { + homepage = https://github.com/zopefoundation/zope.i18nmessageid; + description = "Message Identifiers for internationalization"; + license = licenses.zpl20; + maintainers = with maintainers; [ goibhniu ]; + }; + +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index ccc1377439f5..7528f781941f 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4202,19 +4202,7 @@ in { zope_i18n = callPackage ../development/python-modules/zope_i18n { }; - zope_i18nmessageid = buildPythonPackage rec { - name = "zope.i18nmessageid-4.0.3"; - - src = pkgs.fetchurl { - url = "mirror://pypi/z/zope.i18nmessageid/zope.i18nmessageid-4.0.3.tar.gz"; - sha256 = "1rslyph0klk58dmjjy4j0jxy21k03azksixc3x2xhqbkv97cmzml"; - }; - - meta = { - maintainers = with maintainers; [ goibhniu ]; - }; - }; - + zope_i18nmessageid = callPackage ../development/python-modules/zope_i18nmessageid { }; zope_lifecycleevent = buildPythonPackage rec { name = "zope.lifecycleevent-3.7.0";