summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/ixia/default.nix
blob: 7d269190b9089d8e823a53d6d91b0f01d3e8b95e (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
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  hatchling,
  pytestCheckHook,
}:

buildPythonPackage (finalAttrs: {
  pname = "ixia";
  version = "2.0.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "trag1c";
    repo = "ixia";
    tag = finalAttrs.version;
    hash = "sha256-8STtLL63V+XnDqDNZOx7X9mkjUu176SSyQOL55LXFz0=";
  };

  build-system = [ hatchling ];

  nativeCheckInputs = [ pytestCheckHook ];
  pythonImportsCheck = [ "ixia" ];

  meta = {
    changelog = "https://github.com/trag1c/ixia/blob/${finalAttrs.src.tag}/CHANGELOG.md";
    description = "Connecting secrets' security with random's versatility";
    license = lib.licenses.mit;
    homepage = "https://trag1c.github.io/ixia";
    maintainers = with lib.maintainers; [ sigmanificient ];
  };
})