about summary refs log tree commit diff
path: root/pkgs/misc/sails/default.nix
blob: ed965f73b92c8a4062d1a434a0733e50e04db450 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ 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 ];

  NIX_CFLAGS_COMPILE = "-Wno-error";

  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'';
    maintainers = with maintainers; [ kragniz ];
    platforms = platforms.all;
  };
}