1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6 pytestCheckHook,
7 gitUpdater,
8}:
9
10buildPythonPackage rec {
11 pname = "precisely";
12 version = "0.1.9";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "mwilliamson";
17 repo = "python-precisely";
18 tag = version;
19 hash = "sha256-jvvRreSGpRgDk1bbqC8Z/UEfvxwKilfc/sm7nxdJU6k=";
20 };
21
22 build-system = [ setuptools ];
23
24 pythonImportsCheck = [ "precisely" ];
25
26 # Tests are outdated and based on Nose, which is not supported anymore.
27 doCheck = false;
28
29 passthru.updateScripts = gitUpdater { };
30
31 meta = {
32 description = "Matcher library for Python";
33 homepage = "https://github.com/mwilliamson/python-precisely";
34 license = lib.licenses.bsd2;
35 maintainers = with lib.maintainers; [ ];
36 };
37}