about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pysyncobj/default.nix
blob: 3909f1626dc337474e46ce26a1dff7ede773e3c9 (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
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:

buildPythonPackage rec {
  pname = "pysyncobj";
  version = "0.3.12";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "bakwc";
    repo = "PySyncObj";
    rev = "refs/tags/${version}";
    hash = "sha256-ZWzvvv13g/iypm+MIl5q0Y8ekqzZEY5upSTPk3MFTPI=";
  };

  # Tests require network features
  doCheck = false;

  pythonImportsCheck = [
    "pysyncobj"
  ];

  meta = with lib; {
    description = "Python library for replicating your class";
    mainProgram = "syncobj_admin";
    homepage = "https://github.com/bakwc/PySyncObj";
    changelog = "https://github.com/bakwc/PySyncObj/releases/tag/${version}";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };
}