mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
4d70496ebb
Reported upstream as kragniz/sails/issues/18
27 lines
828 B
Nix
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;
|
|
};
|
|
}
|