nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 54 lines 933 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 click, 5 fetchFromCodeberg, 6 flake8, 7 pytest-cov-stub, 8 pytestCheckHook, 9 pyyaml, 10 setuptools, 11 six, 12}: 13 14buildPythonPackage rec { 15 pname = "clickclick"; 16 version = "20.10.2"; 17 pyproject = true; 18 19 src = fetchFromCodeberg { 20 owner = "hjacobs"; 21 repo = "python-clickclick"; 22 rev = version; 23 hash = "sha256-gefU6CI4ibtvonsaKZmuffuUNUioBn5ODs72BI5zXOw="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 dependencies = [ 29 flake8 30 click 31 pyyaml 32 six 33 ]; 34 35 nativeCheckInputs = [ 36 pytestCheckHook 37 pytest-cov-stub 38 ]; 39 40 pythonImportsCheck = [ "clickclick" ]; 41 42 disabledTests = [ 43 # Tests asserts on exact quoting style of output 44 "test_choice_default" 45 "test_cli" 46 ]; 47 48 meta = { 49 description = "Click command line utilities"; 50 homepage = "https://codeberg.org/hjacobs/python-clickclick/"; 51 license = lib.licenses.asl20; 52 maintainers = [ ]; 53 }; 54}