blob: d5ed9bf0525e9008cd81c7ab1f5aea2dbbd05d89 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, pydantic
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "datauri";
version = "2.0.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "fcurella";
repo = "python-datauri";
rev = "refs/tags/v${version}";
hash = "sha256-k4tlWRasGa2oQykCD9QJl65UAoZQMJVdyCfqlUBBgqY=";
};
nativeBuildInputs = [
setuptools
];
pythonImportsCheck = [
"datauri"
];
nativeCheckInputs = [
pydantic
pytestCheckHook
];
disabledTests = [
"test_pydantic" # incompatible with pydantic v2
];
meta = with lib; {
description = "Data URI manipulation made easy.";
homepage = "https://github.com/fcurella/python-datauri";
license = licenses.unlicense;
maintainers = with maintainers; [ yuu ];
};
}
|