mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 08:26:37 +01:00
46 lines
1,015 B
Nix
46 lines
1,015 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
|
|
# build-system
|
|
setuptools,
|
|
|
|
# tests
|
|
nose2,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "setuptools-dso";
|
|
version = "2.12.3";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "epics-base";
|
|
repo = "setuptools_dso";
|
|
tag = version;
|
|
hash = "sha256-M2Gca1QA9fuSvnzKLqY/RaN+NBRAiThl0tkdMbrhGVo=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|