summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/types-dataclasses/default.nix
blob: 91ed78aa794bff82863204cc51bf4defc5fca52f (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
{
  lib,
  buildPythonPackage,
  fetchPypi,
  setuptools,
}:

buildPythonPackage rec {
  pname = "types-dataclasses";
  version = "0.6.6";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-S1ovz45WjVoZdM1pAQ4yDhr4JRF37JaN57m7SapJ97k=";
  };

  build-system = [ setuptools ];

  # Modules doesn't have tests
  doCheck = false;

  pythonImportsCheck = [ "dataclasses-stubs" ];

  meta = {
    description = "Typing stubs for dataclasses";
    homepage = "https://github.com/python/typeshed";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ fab ];
  };
}