Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / ms-cv / default.nix
blobdbcbc6b0be5bec286df646d5ab5715b0b85ecf67
1 { lib
2 , buildPythonPackage
3 , isPy27
4 , fetchFromGitHub
5 , pytestCheckHook
6 }:
8 buildPythonPackage rec {
9   pname = "ms-cv";
10   version = "0.1.1";
11   format = "setuptools";
13   disabled = isPy27;
15   src = fetchFromGitHub {
16     owner = "OpenXbox";
17     repo = "ms_cv";
18     rev = "v${version}";
19     sha256 = "0pkna0kvmq1cp4rx3dnzxsvvlxxngryp77k42wkyw2phv19a2mjd";
20   };
22   postPatch = ''
23     substituteInPlace setup.py \
24       --replace "pytest-runner" ""
25   '';
27   nativeCheckInputs = [
28     pytestCheckHook
29   ];
31   meta = with lib; {
32     description = "Correlation vector implementation in python";
33     homepage = "https://github.com/OpenXbox/ms_cv";
34     license = licenses.mit;
35     maintainers = with maintainers; [ dotlambda ];
36   };