mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 05:00:16 +00:00
ignition.transport: init at 0.9.0 and 1.0.1
This commit is contained in:
parent
3c95d6d1ea
commit
565b7b34ed
9
pkgs/development/libraries/ignition-transport/0.9.0.nix
Normal file
9
pkgs/development/libraries/ignition-transport/0.9.0.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ stdenv, fetchurl, callPackage, ... } @ args :
|
||||
|
||||
callPackage ./generic.nix (args // rec {
|
||||
version = "0.9.0";
|
||||
src = fetchurl {
|
||||
url = "http://gazebosim.org/distributions/ign-transport/releases/ignition-transport-${version}.tar.bz2";
|
||||
sha256 = "15a8lkxri8q2gc7h0pj1dg2kivhy46v8d3mlxpjy90l77788bw1z";
|
||||
};
|
||||
})
|
9
pkgs/development/libraries/ignition-transport/1.0.1.nix
Normal file
9
pkgs/development/libraries/ignition-transport/1.0.1.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ stdenv, fetchurl, callPackage, ... } @ args :
|
||||
|
||||
callPackage ./generic.nix (args // rec {
|
||||
version = "1.0.1";
|
||||
src = fetchurl {
|
||||
url = "http://gazebosim.org/distributions/ign-transport/releases/ignition-transport-${version}.tar.bz2";
|
||||
sha256 = "08qyd70vlymms1g4smblags9f057zsn62xxrx29rhd4wy8prnjsq";
|
||||
};
|
||||
})
|
25
pkgs/development/libraries/ignition-transport/generic.nix
Normal file
25
pkgs/development/libraries/ignition-transport/generic.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ stdenv, fetchurl, cmake, pkgconfig, utillinux,
|
||||
protobuf, zeromq, cppzmq,
|
||||
version, src # parametrize version and src so we can easily have pkgs
|
||||
# for different versions
|
||||
, ...
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ign-transport-${version}";
|
||||
inherit src;
|
||||
|
||||
buildInputs = [ cmake protobuf zeromq pkgconfig
|
||||
utillinux # we need utillinux/e2fsprogs uuid/uuid.h
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ cppzmq ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://ignitionrobotics.org/libraries/math;
|
||||
description = "Math library by Ingition Robotics, created for the Gazebo project";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ pxc ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
|
@ -1920,8 +1920,14 @@ in
|
|||
|
||||
math2 = ignition.math;
|
||||
|
||||
transport0 = callPackage ../development/libraries/ignition-transport/0.9.0.nix { };
|
||||
|
||||
transport1 = callPackage ../development/libraries/ignition-transport/1.0.1.nix { };
|
||||
|
||||
transport = ignition.transport0;
|
||||
};
|
||||
|
||||
|
||||
ihaskell = callPackage ../development/tools/haskell/ihaskell/wrapper.nix {
|
||||
inherit (haskellPackages) ihaskell ghcWithPackages;
|
||||
|
||||
|
|
Loading…
Reference in a new issue