Skip to content

Commit bff6931

Browse files
committed
catkin-tools, osrf-pycommon: cleanup
1 parent a6b056a commit bff6931

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

pkgs/catkin-tools/default.nix

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
{ lib, buildPythonPackage, fetchPypi, fetchpatch, setuptools, catkin-pkg, osrf-pycommon, pyyaml}:
1+
{ lib, buildPythonPackage, fetchPypi, setuptools, catkin-pkg, osrf-pycommon
2+
, pyyaml }:
23

34
buildPythonPackage rec {
45
pname = "catkin_tools";
@@ -9,10 +10,11 @@ buildPythonPackage rec {
910
sha256 = "17r6sz7jdq78mab8n5ihcf991f8lwykdjcddlgsz7c1ab7j4dkns";
1011
};
1112

12-
propagatedBuildInputs = [ catkin-pkg setuptools osrf-pycommon pyyaml ];
13+
propagatedBuildInputs = [ setuptools catkin-pkg osrf-pycommon pyyaml ];
1314

15+
# No tests in PyPi tarball
1416
doCheck = false;
15-
pythonImportsCheck = ["catkin_tools" ];
17+
pythonImportsCheck = [ "catkin_tools" ];
1618

1719
meta = with lib; {
1820
description = "Command line tools for working with catkin";

pkgs/osrf-pycommon/default.nix

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ lib, buildPythonPackage, fetchPypi, fetchpatch, python, nose}:
1+
{ lib, buildPythonPackage, fetchPypi }:
22

33
buildPythonPackage rec {
44
pname = "osrf_pycommon";
@@ -9,8 +9,9 @@ buildPythonPackage rec {
99
sha256 = "01qi6m7frc6g2pyy2wmy29c3xdpbgxmwn11ax48qy3fav4mq5ky3";
1010
};
1111

12-
buildInputs = [ nose ];
13-
checkPhase = "${python.interpreter} ./setup.py nosetests";
12+
# No tests in PyPi tarball
13+
doCheck = false;
14+
pythonImportsCheck = [ "osrf_pycommon" ];
1415

1516
meta = with lib; {
1617
description = "Commonly needed Python modules, used by Python software developed at OSRF";

0 commit comments

Comments
 (0)