summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/shippinglabel/default.nix
blob: 9c85910f53348bca9d1232b7c51ed39fae814528 (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
40
41
42
{
  buildPythonPackage,
  fetchPypi,
  lib,
  dist-meta,
  dom-toml,
  domdf-python-tools,
  hatchling,
  hatch-requirements-txt,
  packaging,
  typing-extensions,
}:
buildPythonPackage rec {
  pname = "shippinglabel";
  version = "2.3.0";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-JcDDGUwBHANV3/j1bMCzFoj2k7IJ9YSdRJkdii7JHy8=";
  };

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

  dependencies = [
    dist-meta
    dom-toml
    domdf-python-tools
    packaging
    typing-extensions
  ];

  meta = {
    description = "Utilities for handling packages";
    homepage = "https://github.com/domdfcoding/shippinglabel";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ tyberius-prime ];
  };
}