python312Packages.fnllm: 0.0.11 -> 0.0.12 (#364582)
[NixPkgs.git] / pkgs / development / python-modules / textile / default.nix
blob09e83fa1caeba6bea97a101cd8d5313282b345c6
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   nh3,
6   pillow,
7   pytest-cov-stub,
8   pytestCheckHook,
9   pythonOlder,
10   regex,
11   setuptools-scm,
12   setuptools,
15 buildPythonPackage rec {
16   pname = "textile";
17   version = "4.0.3";
18   pyproject = true;
20   disabled = pythonOlder "3.8";
22   src = fetchFromGitHub {
23     owner = "textile";
24     repo = "python-textile";
25     rev = "refs/tags/${version}";
26     hash = "sha256-KVDppsvX48loV9OJ70yqmQ5ZSypzcxrjH1j31DcyfM8=";
27   };
29   build-system = [
30     setuptools
31     setuptools-scm
32   ];
34   dependencies = [
35     nh3
36     regex
37   ];
39   optional-dependencies = {
40     imagesize = [ pillow ];
41   };
43   nativeCheckInputs = [
44     pytest-cov-stub
45     pytestCheckHook
46   ];
48   pythonImportsCheck = [ "textile" ];
50   meta = with lib; {
51     description = "MOdule for generating web text";
52     homepage = "https://github.com/textile/python-textile";
53     changelog = "https://github.com/textile/python-textile/blob/${version}/CHANGELOG.textile";
54     license = licenses.bsd3;
55     maintainers = with maintainers; [ fab ];
56     mainProgram = "pytextile";
57   };