summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyschemes/default.nix
blob: c7034d11cdca4bb05b973fec194bd80805eaedf5 (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
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonAtLeast
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "pyschemes";
  version = "unstable-2017-11-08";
  format = "setuptools";

  disabled = pythonAtLeast "3.10";

  src = fetchFromGitHub {
    owner = "spy16";
    repo = pname;
    rev = "ca6483d13159ba65ba6fc2f77b90421c40f2bbf2";
    hash = "sha256-PssucudvlE8mztwVme70+h+2hRW/ri9oV9IZayiZhdU=";
  };

  checkInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [ "pyschemes" ];

  meta = with lib; {
    description = "A library for validating data structures in Python";
    homepage = "https://github.com/spy16/pyschemes";
    license = licenses.wtfpl;
    maintainers = with maintainers; [ gador ];
  };
}