at master 819 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pretend, 6 pytestCheckHook, 7 pythonOlder, 8}: 9 10buildPythonPackage rec { 11 pname = "verspec"; 12 version = "0.1.0"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-xFBMppeyBWzbS/pxIUYfWg6BgJJVtBwD3aS6gjY3wB4="; 20 }; 21 22 nativeCheckInputs = [ 23 pretend 24 pytestCheckHook 25 ]; 26 27 disabledTestPaths = [ 28 # Import fail 29 "test/test_specifiers.py" 30 ]; 31 32 pythonImportsCheck = [ "verspec" ]; 33 34 meta = with lib; { 35 description = "Flexible version handling"; 36 homepage = "https://github.com/jimporter/verspec"; 37 changelog = "https://github.com/jimporter/averspec/releases/tag/v${version}"; 38 license = with licenses; [ 39 bsd2 # and 40 asl20 41 ]; 42 maintainers = [ ]; 43 }; 44}