nixpkgs/pkgs/development/tools/sourcetrail/parso.nix
2020-10-27 22:55:18 +09:00

30 lines
552 B
Nix

# Taken from a past commit of nixpkgs
{ lib
, buildPythonPackage
, fetchPypi
, pytest
}:
buildPythonPackage rec {
pname = "parso";
# TODO: Remove along with ./jedi.nix when version compatiblity issue is
# resolved.
version = "0.7.0";
src = fetchPypi {
inherit pname version;
sha256 = "908e9fae2144a076d72ae4e25539143d40b8e3eafbaeae03c1bfe226f4cdf12c";
};
checkInputs = [ pytest ];
meta = {
description = "A Python Parser";
homepage = "https://github.com/davidhalter/parso";
license = lib.licenses.mit;
};
}