mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-11-02 02:38:44 +00:00
34 lines
689 B
Nix
34 lines
689 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ms-cv";
|
|
version = "0.1.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "OpenXbox";
|
|
repo = "ms_cv";
|
|
rev = "v${version}";
|
|
hash = "sha256-TVahUtjwCu4nF2Sec31+tne6t+7fttEzuSzguidQdl4=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|