blob: f09b99ba2fd1a3edf0c0f5822dcc93201fbdc952 (
plain)
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
45
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pydantic,
pytestCheckHook,
setuptools,
typing-extensions,
cached-property,
}:
buildPythonPackage rec {
pname = "datauri";
version = "3.0.2";
pyproject = true;
src = fetchFromGitHub {
owner = "fcurella";
repo = "python-datauri";
tag = "v${version}";
hash = "sha256-WrOQPUZ9vaLSR0hxIvCK8kBnARiOLh6qqWBw/h6XpaY=";
};
build-system = [ setuptools ];
dependencies = [
typing-extensions
cached-property
];
nativeCheckInputs = [
pydantic
pytestCheckHook
];
pythonImportsCheck = [ "datauri" ];
meta = {
description = "Module for Data URI manipulation";
homepage = "https://github.com/fcurella/python-datauri";
changelog = "https://github.com/fcurella/python-datauri/releases/tag/${src.tag}";
license = lib.licenses.unlicense;
maintainers = [ ];
};
}
|