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

buildPythonPackage rec {
  pname = "pure-cdb";
  version = "4.0.0";
  format = "setuptools";

  # Archive on pypi has no tests.
  src = fetchFromGitHub {
    owner = "bbayles";
    repo = "python-pure-cdb";
    rev = "refs/tags/v${version}";
    hash = "sha256-7zxQO+oTZJhXfM2yijGXchLixiQRuFTOSESVlEc+T0s=";
  };

  nativeCheckInputs = [ flake8 ];

  pythonImportsCheck = [ "cdblib" ];

  meta = with lib; {
    description = "Python library for working with constant databases";
    homepage = "https://python-pure-cdb.readthedocs.io/en/latest";
    license = licenses.mit;
    maintainers = with maintainers; [ kaction ];
  };
}