xeus-cling: fix improper linking with LLVM (#351130)
[NixPkgs.git] / pkgs / development / python-modules / datauri / default.nix
blob4bf82cf464ca40b46090b78f2795027a57de1dc0
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pydantic,
6   pytestCheckHook,
7   pythonOlder,
8   setuptools,
9   typing-extensions,
12 buildPythonPackage rec {
13   pname = "datauri";
14   version = "2.2.0";
15   pyproject = true;
17   disabled = pythonOlder "3.7";
19   src = fetchFromGitHub {
20     owner = "fcurella";
21     repo = "python-datauri";
22     rev = "refs/tags/v${version}";
23     hash = "sha256-9BCYC8PW44pB348kkH7aB1YqXXN1VNcBHphlN503M6g=";
24   };
26   build-system = [ setuptools ];
28   dependencies = [ typing-extensions ];
30   nativeCheckInputs = [
31     pydantic
32     pytestCheckHook
33   ];
35   pythonImportsCheck = [ "datauri" ];
37   meta = with lib; {
38     description = "Module for Data URI manipulation";
39     homepage = "https://github.com/fcurella/python-datauri";
40     changelog = "https://github.com/fcurella/python-datauri/releases/tag/v${version}";
41     license = licenses.unlicense;
42     maintainers = with maintainers; [ yuu ];
43   };