at master 726 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 isPy27, 5 fetchFromGitHub, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "ms-cv"; 11 version = "0.1.1"; 12 format = "setuptools"; 13 14 disabled = isPy27; 15 16 src = fetchFromGitHub { 17 owner = "OpenXbox"; 18 repo = "ms_cv"; 19 rev = "v${version}"; 20 sha256 = "0pkna0kvmq1cp4rx3dnzxsvvlxxngryp77k42wkyw2phv19a2mjd"; 21 }; 22 23 postPatch = '' 24 substituteInPlace setup.py \ 25 --replace "pytest-runner" "" 26 ''; 27 28 nativeCheckInputs = [ pytestCheckHook ]; 29 30 meta = with lib; { 31 description = "Correlation vector implementation in python"; 32 homepage = "https://github.com/OpenXbox/ms_cv"; 33 license = licenses.mit; 34 maintainers = with maintainers; [ dotlambda ]; 35 }; 36}