python3Packages.simpy: Pass py into checkInputs
and reformat
This commit is contained in:
parent
5f65eb06cc
commit
abbc2c7810
|
@ -1,9 +1,16 @@
|
|||
{ buildPythonPackage, fetchPypi, isPy27, lib, setuptools, setuptools-scm
|
||||
{ buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy27
|
||||
, lib
|
||||
, setuptools
|
||||
, setuptools-scm
|
||||
, py
|
||||
, pytestCheckHook }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "simpy";
|
||||
version = "4.0.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = isPy27;
|
||||
|
||||
|
@ -12,11 +19,18 @@ buildPythonPackage rec {
|
|||
sha256 = "b36542e2faab612f861c5ef4da17220ac1553f5892b3583c67281dbe4faad404";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools-scm ];
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ setuptools ];
|
||||
propagatedBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
checkInputs = [
|
||||
py
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://simpy.readthedocs.io/en/${version}/";
|
||||
|
|
Loading…
Reference in a new issue