summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/dist-meta/default.nix
blob: 83640cfcf9af359d64d18f6358dd6dfecd0cd4c9 (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
38
39
{
  buildPythonPackage,
  fetchPypi,
  lib,
  domdf-python-tools,
  handy-archives,
  hatchling,
  hatch-requirements-txt,
  packaging,
}:
buildPythonPackage rec {
  pname = "dist-meta";
  version = "0.9.0";
  pyproject = true;

  src = fetchPypi {
    pname = "dist_meta";
    inherit version;
    hash = "sha256-+hbr1VdHRKCVlqs0IIOhHXIJ2NBc8yiR0cmFvn7Ay9c=";
  };

  build-system = [
    hatchling
    hatch-requirements-txt
  ];

  dependencies = [
    domdf-python-tools
    handy-archives
    packaging
  ];

  meta = {
    description = "Parse and create Python distribution metadata";
    homepage = "https://github.com/repo-helper/dist-meta";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ tyberius-prime ];
  };
}