mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 12:23:02 +00:00
Merge #310779: fix ark-pixel-font
build
This commit is contained in:
commit
928a3ffb9b
@ -6,13 +6,13 @@
|
||||
|
||||
python312Packages.buildPythonPackage rec {
|
||||
pname = "ark-pixel-font";
|
||||
version = "2024.04.05";
|
||||
version = "2024.05.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "TakWolf";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-G34cu/mSt/p8UPJt+Q1T2qy6d9LGgT1Jslt9syRz5eo=";
|
||||
repo = "ark-pixel-font";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-PGhhKWHDpvOqa3vaI40wuIsAEdWGb62cN7QJeHQqiss=";
|
||||
};
|
||||
|
||||
format = "other";
|
||||
|
@ -12,13 +12,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bdffont";
|
||||
version = "0.0.20";
|
||||
version = "0.0.24";
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-T0gTtudsZmL0VZ3a3+C/v+dWAwbXUgf0PEdNtkxWROw=";
|
||||
hash = "sha256-3HJwtBV78zsMUlmwJrPj74Vd5cru1zflvies5mNGcy4=";
|
||||
};
|
||||
|
||||
format = "pyproject";
|
||||
|
44
pkgs/development/python-modules/pcffont/default.nix
Normal file
44
pkgs/development/python-modules/pcffont/default.nix
Normal file
@ -0,0 +1,44 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, hatchling
|
||||
, bdffont
|
||||
, pytestCheckHook
|
||||
, nix-update-script
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pcffont";
|
||||
version = "0.0.11";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "TakWolf";
|
||||
repo = "pcffont";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-gu9niWxYTw3rcA++z8B+MdKp5XaqAGjmvd+PdSDosfg=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
bdffont
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pcffont" ];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Library for manipulating Portable Compiled Format (PCF) fonts";
|
||||
homepage = "https://github.com/TakWolf/pcffont";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ ];
|
||||
};
|
||||
}
|
@ -10,23 +10,32 @@
|
||||
, brotli
|
||||
, fonttools
|
||||
, pypng
|
||||
, pcffont
|
||||
, pythonRelaxDepsHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pixel-font-builder";
|
||||
version = "0.0.19";
|
||||
version = "0.0.24";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "pixel_font_builder";
|
||||
inherit version;
|
||||
hash = "sha256-f38DyM5hojHfv8k/W6kcHxbOjz43hHW6i4Scm6NbHiQ=";
|
||||
hash = "sha256-hBlTTIPx4TRgeXapVnSaKPUwseR3uYT0gcgKLGmmSZI=";
|
||||
};
|
||||
|
||||
format = "pyproject";
|
||||
pythonRelaxDeps = [
|
||||
"fonttools"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
build-system = [
|
||||
hatch-vcs
|
||||
hatchling
|
||||
];
|
||||
@ -36,10 +45,11 @@ buildPythonPackage rec {
|
||||
pypng
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
bdffont
|
||||
brotli
|
||||
fonttools
|
||||
pcffont
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
@ -1338,6 +1338,8 @@ self: super: with self; {
|
||||
|
||||
paddlepaddle = callPackage ../development/python-modules/paddlepaddle { };
|
||||
|
||||
pcffont = callPackage ../development/python-modules/pcffont { };
|
||||
|
||||
pueblo = callPackage ../development/python-modules/pueblo { };
|
||||
|
||||
pulumi = callPackage ../development/python-modules/pulumi { inherit (pkgs) pulumi; };
|
||||
|
Loading…
Reference in New Issue
Block a user