Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
754 B · 33 lines
Nix
12345678910111213141516171819202122232425262728293031323334{ 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 ]; };}