mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-14 12:48:57 +00:00
32 lines
721 B
Nix
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 ];
|
|
};
|
|
}
|