python312Packages.absl-py: refactor
This commit is contained in:
committed by
Martin Weinelt
parent
92e4612168
commit
ead3e81317
@@ -1,9 +1,9 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
six,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -11,21 +11,24 @@ buildPythonPackage rec {
|
||||
version = "2.1.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-eCB5DvuzFnOc3otOGTVyQ/w2CKFSAkKIUT3ZaNfZWf8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
# checks use bazel; should be revisited
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "absl" ];
|
||||
|
||||
meta = {
|
||||
description = "Abseil Python Common Libraries";
|
||||
homepage = "https://github.com/abseil/abseil-py";
|
||||
changelog = "https://github.com/abseil/abseil-py/blob/v${version}/CHANGELOG.md";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = [ ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user