1 { lib, pythonOlder, buildPythonPackage, fetchPypi, pytestCheckHook, click }:
3 buildPythonPackage rec {
7 disabled = pythonOlder "3.6";
10 sha256 = "509a3a4cc926d3dbf22b203b18a4c66c25e6473fb7c0e0d30374533ac28bafe5";
14 # Disable lib3to6, since we're only building this on 3.6+ anyway.
15 substituteInPlace setup.py \
16 --replace 'if any(arg.startswith("bdist") for arg in sys.argv):' 'if False:'
19 propagatedBuildInputs = [ click ];
21 nativeCheckInputs = [ pytestCheckHook ];
24 description = "micro library to increment lexically ordered numerical ids";
25 mainProgram = "lexid_incr";
26 homepage = "https://pypi.org/project/lexid/";
27 license = licenses.mit;
28 maintainers = with maintainers; [ kfollesdal ];