python311Packages.dehinter: init at 4.0.0

This commit is contained in:
Dan Callaghan
2023-12-03 21:58:28 +11:00
parent 8a17e33373
commit 456062045d
3 changed files with 40 additions and 0 deletions
@@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fonttools
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "dehinter";
version = "4.0.0";
# PyPI source tarballs omit tests, fetch from Github instead
src = fetchFromGitHub {
owner = "source-foundry";
repo = "dehinter";
rev = "v${version}";
hash = "sha256-l988SW6OWKXzJK0WGAJZR/QDFvgnSir+5TwMMvFcOxg=";
};
propagatedBuildInputs = [
fonttools
];
doCheck = true;
nativeCheckInputs = [
pytestCheckHook
];
meta = with lib; {
description = "Utility for removing hinting data from TrueType and OpenType fonts";
homepage = "https://github.com/source-foundry/dehinter";
license = licenses.asl20;
maintainers = with maintainers; [ danc86 ];
};
}
+2
View File
@@ -1766,6 +1766,8 @@ with pkgs;
davinci-resolve-studio = callPackage ../applications/video/davinci-resolve { studioVariant = true; };
dehinter = with python3Packages; toPythonApplication dehinter;
dolbybcsoftwaredecode = callPackage ../applications/audio/dolbybcsoftwaredecode { };
donkey = callPackage ../tools/security/donkey { };
+2
View File
@@ -2736,6 +2736,8 @@ self: super: with self; {
defusedxml = callPackage ../development/python-modules/defusedxml { };
dehinter = callPackage ../development/python-modules/dehinter { };
deid = callPackage ../development/python-modules/deid { };
delegator-py = callPackage ../development/python-modules/delegator-py { };