mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 01:03:25 +00:00
30 lines
552 B
Nix
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;
|
|
};
|
|
|
|
}
|