nixpkgs/pkgs/development/python-modules/phpserialize/default.nix
Frederik Rietdijk ced21f5e1a pythonPackages: remove name attribute`
The `buildPython*` function computes name from `pname` and `version`.
This change removes `name` attribute from all expressions in
`pkgs/development/python-modules`.

While at it, some other minor changes were made as well, such as
replacing `fetchurl` calls with `fetchPypi`.
2018-06-23 18:14:26 +02:00

22 lines
549 B
Nix

{lib, buildPythonPackage, fetchPypi}:
buildPythonPackage rec {
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 = https://github.com/mitsuhiko/phpserialize;
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ jluttine ];
};
}