nixpkgs/pkgs/development/python-modules/parso/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

25 lines
422 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytest
}:
buildPythonPackage rec {
pname = "parso";
version = "0.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "f0604a40b96e062b0fd99cf134cc2d5cdf66939d0902f8267d938b0d5b26707f";
};
checkInputs = [ pytest ];
meta = {
description = "A Python Parser";
homepage = https://github.com/davidhalter/parso;
license = lib.licenses.mit;
};
}