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 = [
35 # Many tests assume they are running from a git checkout, although they
36 # don't care which one. Create a dummy git repo to satisfy the tests:
38 git config user.email test@example.invalid
39 git config user.name Test
40 git commit --allow-empty --message 'Dummy commit for tests'
43 # These tests assume they are actually running from a font-v git checkout,
45 "test_utilities_get_gitrootpath_function"
49 description = "Python utility for manipulating font version headers";
50 mainProgram = "font-v";
51 homepage = "https://github.com/source-foundry/font-v";
52 license = licenses.mit;
53 maintainers = with maintainers; [ danc86 ];