nixpkgs/pkgs/development/libraries/libfann/default.nix
2017-06-12 17:44:43 +02:00

26 lines
594 B
Nix

{ stdenv, lib, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
name = "libfann-${version}";
version = "2.2.0";
src = fetchFromGitHub {
owner = "libfann";
repo = "fann";
rev = version;
sha256 = "0awbs0vjsrdglqiaybb0ln13ciizmyrw9ahllahvgbq4nr0nvf6y";
};
nativeBuildInputs = [ cmake ];
outputs = [ "out" "dev" ];
meta = {
homepage = "http://leenissen.dk/fann/wp/";
description = "Fast Artificial Neural Network Library";
maintainers = with lib.maintainers; [ fpletz ];
license = lib.licenses.lgpl21;
platforms = lib.platforms.all;
};
}