biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / gibberish-detector / default.nix
blobd03703b37e965431d94f315f310631dbc757bebf
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   isPy27,
6   pytestCheckHook,
7 }:
9 buildPythonPackage rec {
10   pname = "gibberish-detector";
11   version = "0.1.1";
12   format = "setuptools";
13   disabled = isPy27;
15   src = fetchFromGitHub {
16     owner = "domanchi";
17     repo = pname;
18     rev = "v${version}";
19     sha256 = "1si0fkpnk9vjkwl31sq5jkyv3rz8a5f2nh3xq7591j9wv2b6dn0b";
20   };
22   nativeCheckInputs = [ pytestCheckHook ];
24   pythonImportsCheck = [ "gibberish_detector" ];
26   meta = with lib; {
27     description = "Python module to detect gibberish strings";
28     mainProgram = "gibberish-detector";
29     homepage = "https://github.com/domanchi/gibberish-detector";
30     license = licenses.mit;
31     maintainers = with maintainers; [ fab ];
32   };