My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/ms-cv/default.nix

36 lines
694 B

{ 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 ];
};
}