summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorcillianderoiste <cillian.deroiste@gmail.com>2014-10-14 13:11:41 +0200
committercillianderoiste <cillian.deroiste@gmail.com>2014-10-14 13:11:41 +0200
commitd34a9894422482d1e37660825951353f05199774 (patch)
tree5f9ba68ee8d4878732729122fe3b9ec425ee283c /pkgs
parent249f9eee563bc993e4ad46b0b76786795c9c67a7 (diff)
parent70341638321cadf6073e0b54490f74d69b5aca25 (diff)
downloadnixpkgs-d34a9894422482d1e37660825951353f05199774.tar
nixpkgs-d34a9894422482d1e37660825951353f05199774.tar.gz
nixpkgs-d34a9894422482d1e37660825951353f05199774.tar.bz2
nixpkgs-d34a9894422482d1e37660825951353f05199774.tar.lz
nixpkgs-d34a9894422482d1e37660825951353f05199774.tar.xz
nixpkgs-d34a9894422482d1e37660825951353f05199774.tar.zst
nixpkgs-d34a9894422482d1e37660825951353f05199774.zip
Merge pull request #4516 from kragniz/master
Add simulator for autonomous sailing boats
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/misc/sails/default.nix24
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/misc/sails/default.nix b/pkgs/misc/sails/default.nix
new file mode 100644
index 00000000000..ab68dc69015
--- /dev/null
+++ b/pkgs/misc/sails/default.nix
@@ -0,0 +1,24 @@
+{ 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 ];
+
+  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 = maintainers.kragniz;
+    platforms = platforms.all;
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index fa048df8ed5..3c1bdc5cba9 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -12057,6 +12057,8 @@ let
 
   xlockmore = callPackage ../misc/screensavers/xlockmore { };
 
+  sails = callPackage ../misc/sails { };
+
   samsungUnifiedLinuxDriver = import ../misc/cups/drivers/samsung {
     inherit fetchurl stdenv;
     inherit cups ghostscript glibc patchelf;