depot/third_party/nixpkgs/pkgs/development/python-modules/pixel-font-builder/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

54 lines
949 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
, nix-update-script
, hatch-vcs
, hatchling
, bdffont
, brotli
, fonttools
, pypng
}:
buildPythonPackage rec {
pname = "pixel-font-builder";
version = "0.0.15";
disabled = pythonOlder "3.11";
src = fetchPypi {
pname = "pixel_font_builder";
inherit version;
hash = "sha256-2QnbnJk3onwxmjZ6aUgXFGsx6GtqJDV9Bgs3p5Czvns=";
};
format = "pyproject";
nativeBuildInputs = [
hatch-vcs
hatchling
];
nativeCheckInputs = [
pytestCheckHook
pypng
];
propagatedBuildInputs = [
bdffont
brotli
fonttools
];
passthru.updateScript = nix-update-script { };
meta = {
homepage = "https://github.com/TakWolf/pixel-font-builder";
description = "A library that helps create pixel style fonts";
platforms = lib.platforms.all;
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ h7x4 ];
};
}