python310Packages.libcst: 0.4.1 -> 0.4.3, drop inactive maintainer
This commit is contained in:
parent
a4a4d9b2c0
commit
92ea671321
|
@ -1,7 +1,6 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, dataclasses
|
||||
, fetchFromGitHub
|
||||
, hypothesis
|
||||
, libiconv
|
||||
|
@ -18,23 +17,23 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "libcst";
|
||||
version = "0.4.1";
|
||||
version = "0.4.3";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "instagram";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-soAlt1KBpCn5JxM1b2LZ3vOpBn9HPGdbm+BBYbyEkfE=";
|
||||
sha256 = "sha256-Lm62rVL5f+fu4KzOQMroM0Eu27l5v2dkGtRiIVPFNhg=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
inherit src;
|
||||
sourceRoot = "source/${cargoRoot}";
|
||||
name = "${pname}-${version}";
|
||||
hash = "sha256:1rz1c0dv3f1h2m5hwdisl3rbqnmifbva4f0c4vygk7rh1q27l515";
|
||||
hash = "sha256-i5BYYiILadKEPIJOaWdG1lZNSHfNQnwmc5j0D1jg/kc=";
|
||||
};
|
||||
|
||||
cargoRoot = "native";
|
||||
|
@ -56,15 +55,13 @@ buildPythonPackage rec {
|
|||
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
hypothesis
|
||||
typing-extensions
|
||||
typing-inspect
|
||||
pyyaml
|
||||
] ++ lib.optional (pythonOlder "3.7") [
|
||||
dataclasses
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
hypothesis
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
|
@ -88,6 +85,6 @@ buildPythonPackage rec {
|
|||
description = "Concrete Syntax Tree (CST) parser and serializer library for Python";
|
||||
homepage = "https://github.com/Instagram/libcst";
|
||||
license = with licenses; [ mit asl20 psfl ];
|
||||
maintainers = with maintainers; [ ruuda SuperSandro2000 ];
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue