example-robot-data: 4.0.7 -> 4.0.8
while here: - use finalAttrs instead of rec - add check & python import check - add me as maintainer
This commit is contained in:
parent
3ac870f510
commit
68cf164989
|
@ -6,16 +6,16 @@
|
|||
, python3Packages
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "example-robot-data";
|
||||
version = "4.0.7";
|
||||
version = "4.0.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Gepetto";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
repo = finalAttrs.pname;
|
||||
rev = "v${finalAttrs.version}";
|
||||
fetchSubmodules = true;
|
||||
hash = "sha256-dN23ukKPkTohqD1J/0EneLyG6Cg0zriMr1l6WLFemd8=";
|
||||
hash = "sha256-xeNbx1f9QCAOJrXfkk3jo9XH2/4HNtnRA1OSnqA2cLs=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
@ -32,11 +32,16 @@ stdenv.mkDerivation rec {
|
|||
"-DBUILD_PYTHON_INTERFACE=OFF"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
pythonImportsCheck = [
|
||||
"example_robot_data"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Set of robot URDFs for benchmarking and developed examples.";
|
||||
homepage = "https://github.com/Gepetto/example-robot-data";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ wegank ];
|
||||
maintainers = with maintainers; [ nim65s wegank ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue