11 buildPythonPackage rec {
14 format = "setuptools";
16 # PyPI source tarballs omit tests, fetch from Github instead
17 src = fetchFromGitHub {
18 owner = "source-foundry";
21 hash = "sha256-ceASyYcNul5aWPAPGajCQrqsQ3bN1sE+nMbCbj7f35w=";
24 propagatedBuildInputs = [
34 # Many tests assume they are running from a git checkout, although they
35 # don't care which one. Create a dummy git repo to satisfy the tests:
37 git config user.email test@example.invalid
38 git config user.name Test
39 git commit --allow-empty --message 'Dummy commit for tests'
42 # These tests assume they are actually running from a font-v git checkout,
44 "test_utilities_get_gitrootpath_function"
48 description = "Python utility for manipulating font version headers";
49 mainProgram = "font-v";
50 homepage = "https://github.com/source-foundry/font-v";
51 license = licenses.mit;
52 maintainers = with maintainers; [ danc86 ];