nixpkgs/pkgs/development/libraries/libfann/default.nix
2020-04-10 17:54:53 +01:00

26 lines
584 B
Nix

{ stdenv, lib, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "libfann";
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;
};
}