at master 720 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 hatchling, 6}: 7 8buildPythonPackage rec { 9 pname = "absl-py"; 10 version = "2.3.1"; 11 pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "abseil"; 15 repo = "abseil-py"; 16 tag = "v${version}"; 17 hash = "sha256-U8doys7SoOhtUkF0dsCFKnM9ItOoi5a6cK6zGOe/U8s="; 18 }; 19 20 build-system = [ hatchling ]; 21 22 # checks use bazel; should be revisited 23 doCheck = false; 24 25 pythonImportsCheck = [ "absl" ]; 26 27 meta = { 28 description = "Abseil Python Common Libraries"; 29 homepage = "https://github.com/abseil/abseil-py"; 30 changelog = "https://github.com/abseil/abseil-py/blob/${src.tag}/CHANGELOG.md"; 31 license = lib.licenses.asl20; 32 maintainers = [ ]; 33 }; 34}