mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
python312Packages.setuptools-dso: refactor
This commit is contained in:
parent
a9846659cc
commit
2685c876a7
@ -2,13 +2,14 @@
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, nose2
|
||||
, pytestCheckHook
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "setuptools-dso";
|
||||
version = "2.10";
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "setuptools_dso";
|
||||
@ -16,15 +17,9 @@ buildPythonPackage rec {
|
||||
hash = "sha256-sjAZ9enOw3vF3zqXNbhu45SM5/sv2kIwfKC6SWJdG0Q=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ setuptools ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [ nose2 ];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
nose2 -v
|
||||
runHook postCheck
|
||||
'';
|
||||
nativeCheckInputs = [ nose2 pytestCheckHook ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "setuptools extension for building non-Python Dynamic Shared Objects";
|
||||
|
Loading…
Reference in New Issue
Block a user