1{
2 buildPythonPackage,
3 fetchFromGitHub,
4 hatchling,
5 lib,
6 pytestCheckHook,
7}:
8
9buildPythonPackage rec {
10 pname = "wassima";
11 version = "2.0.1";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "jawah";
16 repo = "wassima";
17 tag = version;
18 hash = "sha256-MUGB8x4+G+B4cknCeiCcTqKwa8Gea8QrRyM4sYbVxdA=";
19 };
20
21 build-system = [ hatchling ];
22
23 pythonImportsCheck = [ "wassima" ];
24
25 nativeCheckInputs = [
26 pytestCheckHook
27 ];
28
29 # tests connect to the internet
30 doCheck = false;
31
32 meta = {
33 changelog = "https://github.com/jawah/wassima/blob/${src.tag}/CHANGELOG.md";
34 description = "Access your OS root certificates with utmost ease";
35 homepage = "https://github.com/jawah/wassima";
36 license = lib.licenses.mit;
37 maintainers = with lib.maintainers; [ dotlambda ];
38 };
39}