Loading pkgs/development/python-modules/datauri/default.nix +22 −17 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , setuptools , pydantic , pytestCheckHook { lib, buildPythonPackage, fetchFromGitHub, pydantic, pytestCheckHook, pythonOlder, setuptools, typing-extensions, }: buildPythonPackage rec { pname = "datauri"; version = "2.0.0"; format = "pyproject"; version = "2.1.1"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "fcurella"; repo = "python-datauri"; rev = "refs/tags/v${version}"; hash = "sha256-k4tlWRasGa2oQykCD9QJl65UAoZQMJVdyCfqlUBBgqY="; hash = "sha256-+R1J4IjJ+Vf/+V2kiZyIyAqTAgGLTMJjGePyVRuO5rs="; }; nativeBuildInputs = [ setuptools ]; build-system = [ setuptools ]; pythonImportsCheck = [ "datauri" ]; dependencies = [ typing-extensions ]; nativeCheckInputs = [ pydantic pytestCheckHook ]; pythonImportsCheck = [ "datauri" ]; disabledTests = [ "test_pydantic" # incompatible with pydantic v2 # Test is incompatible with pydantic >=2 "test_pydantic" ]; meta = with lib; { description = "Data URI manipulation made easy."; description = "Module for Data URI manipulation"; homepage = "https://github.com/fcurella/python-datauri"; changelog = "https://github.com/fcurella/python-datauri/releases/tag/v${version}"; license = licenses.unlicense; maintainers = with maintainers; [ yuu ]; }; Loading Loading
pkgs/development/python-modules/datauri/default.nix +22 −17 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , setuptools , pydantic , pytestCheckHook { lib, buildPythonPackage, fetchFromGitHub, pydantic, pytestCheckHook, pythonOlder, setuptools, typing-extensions, }: buildPythonPackage rec { pname = "datauri"; version = "2.0.0"; format = "pyproject"; version = "2.1.1"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "fcurella"; repo = "python-datauri"; rev = "refs/tags/v${version}"; hash = "sha256-k4tlWRasGa2oQykCD9QJl65UAoZQMJVdyCfqlUBBgqY="; hash = "sha256-+R1J4IjJ+Vf/+V2kiZyIyAqTAgGLTMJjGePyVRuO5rs="; }; nativeBuildInputs = [ setuptools ]; build-system = [ setuptools ]; pythonImportsCheck = [ "datauri" ]; dependencies = [ typing-extensions ]; nativeCheckInputs = [ pydantic pytestCheckHook ]; pythonImportsCheck = [ "datauri" ]; disabledTests = [ "test_pydantic" # incompatible with pydantic v2 # Test is incompatible with pydantic >=2 "test_pydantic" ]; meta = with lib; { description = "Data URI manipulation made easy."; description = "Module for Data URI manipulation"; homepage = "https://github.com/fcurella/python-datauri"; changelog = "https://github.com/fcurella/python-datauri/releases/tag/v${version}"; license = licenses.unlicense; maintainers = with maintainers; [ yuu ]; }; Loading