depot/third_party/nixpkgs/pkgs/development/python-modules/zpp/default.nix
Default email 472aeafc57 Project import generated by Copybara.
GitOrigin-RevId: c31898adf5a8ed202ce5bea9f347b1c6871f32d1
2024-10-04 18:56:33 +02:00

35 lines
721 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
testers,
zpp,
}:
buildPythonPackage rec {
pname = "zpp";
version = "1.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "jbigot";
repo = "zpp";
rev = "refs/tags/${version}";
hash = "sha256-Jvh80TfOonZ57lb+4PulVOUKi9Y74nplIcrPzlUPw3M=";
};
build-system = [ setuptools ];
passthru = {
tests.version = testers.testVersion { package = zpp; };
};
meta = {
description = "The 'Z' pre-processor, the last preprocessor you'll ever need";
homepage = "https://github.com/jbigot/zpp";
license = lib.licenses.mit;
mainProgram = "zpp";
maintainers = with lib.maintainers; [ GaetanLepage ];
};
}