Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
747 B · 37 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738{ lib, fetchFromGitHub, pythonOlder, buildPythonPackage, pillow, pytestCheckHook,}:
buildPythonPackage rec { pname = "captcha"; version = "0.5.0";
disabled = pythonOlder "3.8";
format = "setuptools";
src = fetchFromGitHub { owner = "lepture"; repo = pname; rev = "v${version}"; hash = "sha256-TPPuf0BRZPSHPSF0HuGxhjhoSyZQ7r86kSjkrztgZ5w="; };
propagatedBuildInputs = [ pillow ];
pythonImportsCheck = [ "captcha" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; { description = "Captcha library that generates audio and image CAPTCHAs"; homepage = "https://github.com/lepture/captcha"; license = licenses.bsd3; maintainers = with maintainers; [ Flakebi ]; };}