1{
2 buildPythonPackage,
3 fetchFromGitHub,
4 lib,
5 setuptools,
6 six,
7 django,
8}:
9buildPythonPackage rec {
10 pname = "natural";
11 version = "0.2.0";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "tehmaze";
16 repo = "natural";
17 tag = version;
18 hash = "sha256-DERFKDGVUPcjYAxiTYWgWkPp+Myd/9CNytQWgRya570=";
19 };
20
21 build-system = [ setuptools ];
22
23 dependencies = [ six ];
24
25 nativeCheckInputs = [ django ];
26
27 meta = {
28 description = "Convert data to their natural (human-readable) format";
29 homepage = "https://github.com/tehmaze/natural";
30 license = lib.licenses.mit;
31 maintainers = with lib.maintainers; [
32 sailord
33 vinetos
34 ];
35 };
36}