summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/precisely/default.nix
blob: 0682aa4a1dffe9ec9288997f575ca2c4799d1896 (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
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  pytestCheckHook,
  gitUpdater,
}:

buildPythonPackage rec {
  pname = "precisely";
  version = "0.1.9";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "mwilliamson";
    repo = "python-precisely";
    tag = version;
    hash = "sha256-jvvRreSGpRgDk1bbqC8Z/UEfvxwKilfc/sm7nxdJU6k=";
  };

  build-system = [ setuptools ];

  pythonImportsCheck = [ "precisely" ];

  # Tests are outdated and based on Nose, which is not supported anymore.
  doCheck = false;

  passthru.updateScripts = gitUpdater { };

  meta = {
    description = "Matcher library for Python";
    homepage = "https://github.com/mwilliamson/python-precisely";
    license = lib.licenses.bsd2;
    maintainers = [ ];
  };
}