nixpkgs/pkgs/development/tools/sourcetrail/parso.nix

30 lines
552 B
Nix
Raw Normal View History

2020-08-15 21:08:03 +01:00
# 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;
};
}