mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 01:03:25 +00:00
python3Packages.freetype-py: enable tests
This commit is contained in:
parent
1bec8b29ac
commit
e2ec8b85bf
@ -1,4 +1,12 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, substituteAll, stdenv, setuptools-scm, freetype }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, substituteAll
|
||||
, setuptools-scm
|
||||
, freetype
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "freetype-py";
|
||||
@ -20,6 +28,14 @@ buildPythonPackage rec {
|
||||
|
||||
propagatedBuildInputs = [ freetype ];
|
||||
|
||||
preCheck = ''
|
||||
cd tests
|
||||
'';
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "freetype" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user