From fc7c48f6cbf3ced5e3fab29191823926610a3c9f Mon Sep 17 00:00:00 2001 From: Miran Bastaja Date: Sun, 23 Feb 2025 13:35:36 +0100 Subject: Package the python ascii library --- pkgs/python3Packages/ascii.nix | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 pkgs/python3Packages/ascii.nix (limited to 'pkgs/python3Packages') diff --git a/pkgs/python3Packages/ascii.nix b/pkgs/python3Packages/ascii.nix new file mode 100644 index 0000000..e5b455b --- /dev/null +++ b/pkgs/python3Packages/ascii.nix @@ -0,0 +1,30 @@ +{ + lib, + python3Packages, + fetchPypi, +}: +python3Packages.buildPythonPackage rec { + pname = "ascii"; + version = "3.6"; + pyproject = true; + + src = fetchPypi { + inherit pname version; + sha256 = "sha256-tf/EyyCsF4nKyAqRMZNF8mo+jzxtb+/zoiDBtsUFYUE="; + }; + + build-system = [ + python3Packages.setuptools + ]; + + dependencies = with python3Packages; [ + pillow + urllib3 + ]; + + meta = { + homepage = "https://github.com/mkaminsky11/ascii"; + description = "Turns images into ascii art"; + license = lib.licenses.mit; + }; +} -- cgit v1.3.1