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