mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
sdformat: init at 3.7.0 and 4.0.0
This commit is contained in:
parent
b682906b6a
commit
3c95d6d1ea
7
pkgs/development/libraries/sdformat/3.nix
Normal file
7
pkgs/development/libraries/sdformat/3.nix
Normal file
@ -0,0 +1,7 @@
|
||||
{ stdenv, fetchurl, callPackage, ... } @ args:
|
||||
|
||||
callPackage ./default.nix (args // rec {
|
||||
version = "3.7.0";
|
||||
srchash-sha256 = "07kn8bgvj9mwwinsp2cbmz11z7zw2lgnj61mi1gi1pjg7q9in98q";
|
||||
})
|
||||
|
23
pkgs/development/libraries/sdformat/default.nix
Normal file
23
pkgs/development/libraries/sdformat/default.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ stdenv, fetchurl, cmake, boost, ruby_1_9, ignition, tinyxml
|
||||
, name ? "sdformat-${version}"
|
||||
, version ? "4.0.0" # versions known to work with this expression include 3.7.0
|
||||
, srchash-sha256 ? "b0f94bb40b0d83e35ff250a7916fdfd6df5cdc1e60c47bc53dd2da5e2378163e"
|
||||
, ...
|
||||
}:
|
||||
|
||||
let
|
||||
ruby = ruby_1_9;
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
src = fetchurl {
|
||||
url = "http://osrf-distributions.s3.amazonaws.com/sdformat/releases/${name}.tar.bz2";
|
||||
sha256 = srchash-sha256;
|
||||
};
|
||||
|
||||
inherit name;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
buildInputs = [
|
||||
cmake boost ruby ignition.math2 tinyxml
|
||||
];
|
||||
}
|
@ -1572,6 +1572,14 @@ in
|
||||
|
||||
gawp = goPackages.gawp.bin // { outputs = [ "bin" ]; };
|
||||
|
||||
gazeboSimulator = recurseIntoAttrs {
|
||||
sdformat = gazeboSimulator.sdformat4;
|
||||
|
||||
sdformat3 = callPackage ../development/libraries/sdformat/3.nix { };
|
||||
|
||||
sdformat4 = callPackage ../development/libraries/sdformat { };
|
||||
};
|
||||
|
||||
gbdfed = callPackage ../tools/misc/gbdfed {
|
||||
gtk = gtk2;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user