nixpkgs/pkgs/misc/sails/default.nix
Pascal Wittmann 4d70496ebb sails: don't treat warnings as errors to fix the build
Reported upstream as kragniz/sails/issues/18
2015-06-01 12:10:48 +02:00

27 lines
828 B
Nix

{ 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;
};
}