2014-10-14 12:00:42 +01:00
|
|
|
{ stdenv, fetchurl, cmake, pkgconfig, gtk3, librsvg }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "0.1.1";
|
|
|
|
name = "sails-${version}";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/kragniz/sails/archive/v${version}.tar.gz";
|
|
|
|
sha256 = "0k55ib6cb78filgq3yrdib69qrzsny0209bq6h0v1yigry0sa62v";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ cmake pkgconfig gtk3 librsvg ];
|
|
|
|
|
2015-06-01 11:07:46 +01:00
|
|
|
NIX_CFLAGS_COMPILE = "-Wno-error";
|
|
|
|
|
2014-10-14 12:00:42 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Simulator for autonomous sailing boats";
|
|
|
|
homepage = https://github.com/kragniz/sails;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
longDescription = ''
|
|
|
|
Sails is a simulator designed to test the AI of autonomous sailing
|
|
|
|
robots. It emulates the basic physics of sailing a small single sail
|
|
|
|
boat'';
|
2015-05-14 18:09:10 +01:00
|
|
|
maintainers = with maintainers; [ kragniz ];
|
2014-10-14 12:00:42 +01:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|