Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at master 627 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 pillow, 7}: 8 9buildPythonPackage rec { 10 pname = "timg"; 11 version = "1.1.6"; 12 pyproject = true; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-k42TmsNQIwD3ueParfXaD4jFuG/eWILXO0Op0Ci9S/0="; 17 }; 18 19 build-system = [ 20 setuptools 21 ]; 22 23 dependencies = [ 24 pillow 25 ]; 26 27 pythonImportsCheck = [ 28 "timg" 29 ]; 30 31 meta = { 32 description = "Display an image in terminal"; 33 homepage = "https://github.com/adzierzanowski/timg"; 34 license = lib.licenses.mit; 35 maintainers = with lib.maintainers; [ 36 euxane 37 renesat 38 ]; 39 }; 40}