1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 cython,
6 mkl,
7 nose,
8 six,
9}:
10
11buildPythonPackage rec {
12 pname = "mkl-service";
13 version = "2.4.1";
14 format = "setuptools";
15
16 src = fetchFromGitHub {
17 owner = "IntelPython";
18 repo = "mkl-service";
19 rev = "refs/tags/v${version}";
20 sha256 = "sha256-4UPiQt1hVVlPFZnuKlMK3FLv2cIEXToHKxnyYLXR/sY=";
21 };
22
23 MKLROOT = mkl;
24
25 nativeCheckInputs = [ nose ];
26 nativeBuildInputs = [ cython ];
27 propagatedBuildInputs = [
28 mkl
29 six
30 ];
31
32 meta = with lib; {
33 description = "Python hooks for Intel(R) Math Kernel Library runtime control settings";
34 homepage = "https://github.com/IntelPython/mkl-service";
35 license = licenses.bsd3;
36 maintainers = with maintainers; [ bhipple ];
37 };
38}