about summary refs log tree commit diff
path: root/pkgs/development/python-modules/tidyexc/default.nix
blob: 5e14812fe7bc68e184ef9b8a5d2d9308e45dc34a (plain) (blame)
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
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, flit
}:

buildPythonPackage rec {
  pname = "tidyexc";
  version = "0.10.0";
  format = "pyproject";

  disabled = pythonOlder "3.6";

  src = fetchPypi {
    inherit pname version;
    sha256 = "1gl1jmihafawg7hvnn4xb20vd2x5qpvca0m1wr2gk0m2jj42yiq6";
  };

  nativeBuildInputs = [
    flit
  ];

  pythonImportsCheck = [
    "tidyexc"
  ];

  meta = with lib; {
    description = "Raise rich, helpful exceptions";
    homepage = "https://github.com/kalekundert/tidyexc";
    changelog = "https://github.com/kalekundert/tidyexc/blob/v${version}/CHANGELOG.md";
    license = licenses.mit;
    maintainers = with maintainers; [ jpetrucciani ];
  };
}