Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
739 B · 41 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142{ lib, fetchFromGitHub, buildPythonPackage, pytest, python, pillow, numpy}:
buildPythonPackage rec { pname = "aggdraw"; version = "1.3.16";
src = fetchFromGitHub { owner = "pytroll"; repo = pname; rev = "v${version}"; hash = "sha256-2yajhuRyQ7BqghbSgPClW3inpw4TW2DhgQbomcRFx94="; };
nativeCheckInputs = [ numpy pillow pytest ];
checkPhase = '' runHook preCheck ${python.interpreter} selftest.py runHook postCheck '';
pythonImportsCheck = [ "aggdraw" ];
meta = with lib; { description = "High quality drawing interface for PIL"; homepage = "https://github.com/pytroll/aggdraw"; license = licenses.mit; maintainers = with maintainers; [ onny ]; };}