python3Packages.ms-cv: init at 0.1.1

This commit is contained in:
Robert Schütz 2021-06-14 20:35:17 +02:00 committed by Jonathan Ringer
parent 72ba8b1960
commit 625f2a8eaa
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, isPy27
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "ms-cv";
version = "0.1.1";
disabled = isPy27;
src = fetchFromGitHub {
owner = "OpenXbox";
repo = "ms_cv";
rev = "v${version}";
sha256 = "0pkna0kvmq1cp4rx3dnzxsvvlxxngryp77k42wkyw2phv19a2mjd";
};
postPatch = ''
substituteInPlace setup.py \
--replace "pytest-runner" ""
'';
checkInputs = [
pytestCheckHook
];
meta = with lib; {
description = "Correlation vector implementation in python";
homepage = "https://github.com/OpenXbox/ms_cv";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}

View file

@ -4454,6 +4454,8 @@ in {
mpyq = callPackage ../development/python-modules/mpyq { };
ms-cv = callPackage ../development/python-modules/ms-cv { };
msal = callPackage ../development/python-modules/msal { };
msal-extensions = callPackage ../development/python-modules/msal-extensions { };