From 96c0a6db3aeb08b71a670170298bb0913937f4fe Mon Sep 17 00:00:00 2001 From: Jaakko Luttinen Date: Fri, 5 May 2017 10:01:56 +0300 Subject: [PATCH] pythonPackages.phpserialize: init at 1.3 (#25521) * pythonPackages.phpserialize: init at 1.3 * pythonPackages.phpserialize: clarify test situation --- lib/maintainers.nix | 1 + .../python-modules/phpserialize/default.nix | 22 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 3 files changed, 25 insertions(+) create mode 100644 pkgs/development/python-modules/phpserialize/default.nix diff --git a/lib/maintainers.nix b/lib/maintainers.nix index a477fb46b86a..ee0697ed6e42 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -242,6 +242,7 @@ jhhuh = "Ji-Haeng Huh "; jirkamarsik = "Jirka Marsik "; jlesquembre = "José Luis Lafuente "; + jluttine = "Jaakko Luttinen "; joachifm = "Joachim Fasting "; joamaki = "Jussi Maki "; joelmo = "Joel Moberg "; diff --git a/pkgs/development/python-modules/phpserialize/default.nix b/pkgs/development/python-modules/phpserialize/default.nix new file mode 100644 index 000000000000..57dd687604db --- /dev/null +++ b/pkgs/development/python-modules/phpserialize/default.nix @@ -0,0 +1,22 @@ +{lib, buildPythonPackage, fetchPypi}: + +buildPythonPackage rec { + name = "${pname}-${version}"; + pname = "phpserialize"; + version = "1.3"; + + src = fetchPypi { + inherit pname version; + sha256 = "19qgkb9z4zjbjxlpwh2w6pxkz2j3iymnydi69jl0jg905lqjsrxz"; + }; + + # project does not have tests at the moment + doCheck = false; + + meta = { + description = "A port of the serialize and unserialize functions of PHP to Python"; + homepage = http://github.com/mitsuhiko/phpserialize; + license = lib.licenses.bsd3; + maintainers = with lib.maintainers; [ jluttine ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index ffd3f6c8c5dd..1d8ced3e2e15 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8833,6 +8833,8 @@ in { }; }; + phpserialize = callPackage ../development/python-modules/phpserialize { }; + pies = buildPythonPackage rec { name = "pies-2.6.5";