Files
nixpkgs/pkgs/development/python-modules/gibberish-detector/default.nix
2026-05-31 15:15:50 +03:00

32 lines
721 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "gibberish-detector";
version = "0.1.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "domanchi";
repo = "gibberish-detector";
rev = "v${version}";
sha256 = "1si0fkpnk9vjkwl31sq5jkyv3rz8a5f2nh3xq7591j9wv2b6dn0b";
};
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "gibberish_detector" ];
meta = {
description = "Python module to detect gibberish strings";
mainProgram = "gibberish-detector";
homepage = "https://github.com/domanchi/gibberish-detector";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
}