mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 22:10:14 +00:00
python311Packages.axisregistry: init at 0.4.5
This commit is contained in:
46
pkgs/development/python-modules/axisregistry/default.nix
Normal file
46
pkgs/development/python-modules/axisregistry/default.nix
Normal file
@@ -0,0 +1,46 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fonttools
|
||||
, protobuf
|
||||
, pythonRelaxDepsHook
|
||||
, pytestCheckHook
|
||||
, setuptools-scm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "axisregistry";
|
||||
version = "0.4.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-elQUcl6Zh/3xXLduFKbiXZ6uQsDE8C6M3QnTEwaJlaA=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
fonttools
|
||||
protobuf
|
||||
];
|
||||
nativeBuildInputs = [
|
||||
pythonRelaxDepsHook
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
# Relax the dependency on protobuf 3. Other packages in the Google Fonts
|
||||
# ecosystem have begun upgrading from protobuf 3 to protobuf 4,
|
||||
# so we need to use protobuf 4 here as well to avoid a conflict
|
||||
# in the closure of fontbakery. It seems to be compatible enough.
|
||||
pythonRelaxDeps = [ "protobuf" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Google Fonts registry of OpenType variation axis tags";
|
||||
homepage = "https://github.com/googlefonts/axisregistry";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ danc86 ];
|
||||
};
|
||||
}
|
||||
@@ -999,6 +999,8 @@ self: super: with self; {
|
||||
|
||||
axis = callPackage ../development/python-modules/axis { };
|
||||
|
||||
axisregistry = callPackage ../development/python-modules/axisregistry { };
|
||||
|
||||
azure-appconfiguration = callPackage ../development/python-modules/azure-appconfiguration { };
|
||||
|
||||
azure-applicationinsights = callPackage ../development/python-modules/azure-applicationinsights { };
|
||||
|
||||
Reference in New Issue
Block a user