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`.
20 lines
582 B
Nix
20 lines
582 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, pytest, pytestflakes, pytestpep8, tox }:
|
|
buildPythonPackage rec {
|
|
pname = "pytest-quickcheck";
|
|
version = "0.8.3";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "17vly6fg0s95lbg620g9dp9jjf12sj4hpbi7cg579kswabl6304g";
|
|
};
|
|
|
|
buildInputs = [ pytest ];
|
|
propagatedBuildInputs = [ pytestflakes pytestpep8 tox ];
|
|
|
|
meta = with stdenv.lib; {
|
|
license = licenses.asl20;
|
|
homepage = "https://pypi.python.org/pypi/pytest-quickcheck";
|
|
description = "pytest plugin to generate random data inspired by QuickCheck";
|
|
};
|
|
}
|