504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
34 lines
708 B
Nix
34 lines
708 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, nose2
|
|
, setuptools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "setuptools_dso";
|
|
version = "2.10";
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-sjAZ9enOw3vF3zqXNbhu45SM5/sv2kIwfKC6SWJdG0Q=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ setuptools ];
|
|
|
|
nativeCheckInputs = [ nose2 ];
|
|
|
|
checkPhase = ''
|
|
runHook preCheck
|
|
nose2 -v
|
|
runHook postCheck
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "setuptools extension for building non-Python Dynamic Shared Objects";
|
|
homepage = "https://github.com/mdavidsaver/setuptools_dso";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ marius851000 xfix ];
|
|
};
|
|
}
|