saunafs: 4.6.0 -> 4.7.0 (#379649)
[NixPkgs.git] / pkgs / development / python-modules / re-assert / default.nix
blob497908e994c23a7022be48d115b1c4839e1ee07c
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools,
6   regex,
7   pytestCheckHook,
8 }:
10 buildPythonPackage rec {
11   pname = "re-assert";
12   version = "1.1.0";
13   pyproject = true;
15   src = fetchFromGitHub {
16     owner = "asottile";
17     repo = "re-assert";
18     tag = "v${version}";
19     hash = "sha256-UTXFTD3QOKIzjq05J9Ontv5h9aClOwlPYKFXfDnBWuc=";
20   };
22   build-system = [ setuptools ];
24   dependencies = [ regex ];
26   pythonImportsCheck = [ "re_assert" ];
28   nativeCheckInputs = [ pytestCheckHook ];
30   meta = {
31     description = "Show where your regex match assertion failed";
32     license = lib.licenses.mit;
33     homepage = "https://github.com/asottile/re-assert";
34   };