nixpkgs/pkgs/development/python-modules/parso/default.nix

26 lines
454 B
Nix
Raw Normal View History

2017-10-25 19:04:35 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, pytest
}:
buildPythonPackage rec {
pname = "parso";
2018-05-28 13:18:36 +01:00
version = "0.2.1";
2017-10-25 19:04:35 +01:00
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2018-05-28 13:18:36 +01:00
sha256 = "f0604a40b96e062b0fd99cf134cc2d5cdf66939d0902f8267d938b0d5b26707f";
2017-10-25 19:04:35 +01:00
};
checkInputs = [ pytest ];
meta = {
description = "A Python Parser";
homepage = https://github.com/davidhalter/parso;
license = lib.licenses.mit;
};
2018-05-24 11:19:19 +01:00
}