about summary refs log tree commit diff
path: root/pkgs/development/python-modules/mkl-service/default.nix
blob: 9a2cd468db2ac1d886d9850799b80c12f4e7f2e7 (plain) (blame)
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
37
38
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  cython,
  mkl,
  nose,
  six,
}:

buildPythonPackage rec {
  pname = "mkl-service";
  version = "2.4.1";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "IntelPython";
    repo = "mkl-service";
    rev = "refs/tags/v${version}";
    sha256 = "sha256-4UPiQt1hVVlPFZnuKlMK3FLv2cIEXToHKxnyYLXR/sY=";
  };

  MKLROOT = mkl;

  nativeCheckInputs = [ nose ];
  nativeBuildInputs = [ cython ];
  propagatedBuildInputs = [
    mkl
    six
  ];

  meta = with lib; {
    description = "Python hooks for Intel(R) Math Kernel Library runtime control settings";
    homepage = "https://github.com/IntelPython/mkl-service";
    license = licenses.bsd3;
    maintainers = with maintainers; [ bhipple ];
  };
}