Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

34 lines
754 B
Nix

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