1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-13 21:50:38 +03:00

python3Packages.rosinstall-generator: 0.1.22 -> unstable-20211203

Fix GitLab downloads and tests.
This commit is contained in:
Ben Wolsieffer 2022-03-28 20:03:57 -04:00
parent 7fae877681
commit 5fd6ef708d

View file

@ -1,23 +1,18 @@
{ lib, buildPythonPackage, fetchPypi, fetchpatch, catkin-pkg, rosdistro, rospkg
, pyyaml, pytestCheckHook }:
{ lib, buildPythonPackage, fetchFromGitHub, fetchpatch, catkin-pkg, rosdistro
, rospkg, pyyaml, pytestCheckHook }:
buildPythonPackage rec {
pname = "rosinstall_generator";
version = "0.1.22";
version = "unstable-20211203";
src = fetchPypi {
inherit pname version;
sha256 = "1idq8xacz7s59mb7aakma3g2w1n89i3dkcdjgzvs221zrncjbli2";
src = fetchFromGitHub {
owner = "ros-infrastructure";
repo = pname;
# Contains several important fixes
rev = "9024a02e0aa0e09b3a533458e05a4e862eae7ddf";
sha256 = "sha256-yDKQQyZE75rYDS6hL638fOJxaqkNEQ/g5NG0eBEY/K0=";
};
patches = [
# Fix GitLab tarball downloads
(fetchpatch {
url = "https://github.com/lopsided98/rosinstall_generator/commit/16291631160ba9801ea5b551d6840d692acf1e44.patch";
sha256 = "0ynbq2n5qd49a72ylcp8cim02b2srmr1956ifp6cww1s1jrvbhgc";
})
];
propagatedBuildInputs = [ catkin-pkg rosdistro rospkg pyyaml ];
checkInputs = [ pytestCheckHook ];