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:
parent
7fae877681
commit
5fd6ef708d
1 changed files with 9 additions and 14 deletions
|
@ -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 ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue