blob: 5c33d1fd89b8688e196fd6aa814cb8bc658d1d2c (
plain)
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
39
40
41
42
43
44
45
46
|
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
# tests
nose2,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "setuptools-dso";
version = "2.12.2";
pyproject = true;
src = fetchFromGitHub {
owner = "epics-base";
repo = "setuptools_dso";
tag = version;
hash = "sha256-YYm3mTA443vcD/4vHa7EgPzvDDzBic64NWWJDQYQHKs=";
};
build-system = [ setuptools ];
nativeCheckInputs = [
nose2
pytestCheckHook
];
disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
# distutils.compilers.C.errors.CompileError: command '/nix/store/...-clang-wrapper-21.1.2/bin/clang' failed with exit code 1
# fatal error: 'string' file not found
"test_cxx"
];
meta = {
description = "Setuptools extension for building non-Python Dynamic Shared Objects";
homepage = "https://github.com/mdavidsaver/setuptools_dso";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ marius851000 ];
};
}
|