summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/shared/default.nix
blob: 8cb21e1072927da97537554222b8a119b0fda760 (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
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  kvf,
  paradict,
  probed,
  setuptools,
}:

buildPythonPackage (finalAttrs: {
  pname = "shared";
  version = "0.0.9";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "pyrustic";
    repo = "shared";
    tag = "v${finalAttrs.version}";
    hash = "sha256-roczP6WxpZ1AHjaD7XyjxYgb7hsP8a7hC6A3SYPNobQ=";
  };

  build-system = [ setuptools ];

  dependencies = [
    kvf
    paradict
    probed
  ];

  pythonImportsCheck = [ "shared" ];

  # Module has no tests
  doCheck = false;

  meta = {
    description = "Data exchange and persistence based on human-readable files";
    homepage = "https://github.com/pyrustic/shared";
    changelog = "https://github.com/pyrustic/shared/blob/${finalAttrs.src.tag}/CHANGELOG.md";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
})