1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 09:02:46 +00:00
nixpkgs/pkgs/development/python-modules/serpy/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

26 lines
578 B
Nix

{ lib, buildPythonPackage, fetchPypi,
flake8, py, pyflakes, six, tox
}:
buildPythonPackage rec {
pname = "serpy";
version = "0.3.1";
meta = {
description = "ridiculously fast object serialization";
homepage = https://github.com/clarkduvall/serpy;
license = lib.licenses.mit;
};
src = fetchPypi {
inherit pname version;
sha256 = "3772b2a9923fbf674000ff51abebf6ea8f0fca0a2cfcbfa0d63ff118193d1ec5";
};
buildInputs = [ flake8 py pyflakes tox ];
propagatedBuildInputs = [ six ];
# ImportError: No module named 'tests
doCheck = false;
}