Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 39 lines 637 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, numpy 5, pytest 6, pytestrunner 7, glibcLocales 8}: 9 10buildPythonPackage rec { 11 pname = "fonttools"; 12 version = "3.42.0"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "0w0ncs61821bnc2smfllnhfw5b8fwz972yqcgb64lr5qiwxkj2y0"; 17 extension = "zip"; 18 }; 19 20 buildInputs = [ 21 numpy 22 ]; 23 24 checkInputs = [ 25 pytest 26 pytestrunner 27 glibcLocales 28 ]; 29 30 preCheck = '' 31 export LC_ALL="en_US.UTF-8" 32 ''; 33 34 meta = { 35 homepage = https://github.com/fonttools/fonttools; 36 description = "A library to manipulate font files from Python"; 37 license = lib.licenses.mit; 38 }; 39}