mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 09:33:41 +00:00
ced21f5e1a
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`.
22 lines
549 B
Nix
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 ];
|
|
};
|
|
}
|