summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/useful-types/default.nix
blob: 1a0eae4363ffeb674ef859576b64ba4c023c4ca4 (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
{
  lib,
  buildPythonPackage,
  fetchPypi,
  flit-core,
  typing-extensions,
}:
buildPythonPackage rec {
  pname = "useful-types";
  version = "0.2.1";
  pyproject = true;

  src = fetchPypi {
    inherit version;
    pname = "useful_types";
    hash = "sha256-hwoLzI/LfQsvFAVUOMHKt+JI/e2UKwlDpNcBnn+72s0=";
  };

  build-system = [
    flit-core
  ];

  dependencies = [
    typing-extensions
  ];

  pythonImportsCheck = [ "useful_types" ];

  meta = {
    description = "Useful types for Python";
    homepage = "https://github.com/hauntsaninja/useful_types";
    changelog = "https://github.com/hauntsaninja/useful_types/blob/v${version}/CHANGELOG.md";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ different-name ];
  };
}