depot/third_party/nixpkgs/pkgs/development/python-modules/tidyexc/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

35 lines
703 B
Nix

{ 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 ];
};
}