blob: fc4e8fe581c3d4de46a20aad6e441e1c51e8b4c6 (
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
|
{
buildPythonPackage,
fetchFromGitHub,
lib,
simplejson,
six,
typechecks,
}:
buildPythonPackage {
pname = "serializable";
version = "unstable-2023-07-13";
format = "setuptools";
src = fetchFromGitHub {
owner = "iskandr";
repo = "serializable";
# See https://github.com/iskandr/serializable/issues/7. As of 2023-07-13,
# they do no have version tags.
rev = "ed309a6f8f2590b525fc0f93c00549223c8c944f";
hash = "sha256-AXlgIc1B7bkR+joXn6ZSxk/t848CWlgVZp8WIsSZFKQ=";
};
propagatedBuildInputs = [
simplejson
six
typechecks
];
pythonImportsCheck = [ "serializable" ];
meta = {
description = "Base class with serialization methods for user-defined Python objects";
homepage = "https://github.com/iskandr/serializable";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ samuela ];
};
}
|