1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/libfann/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

26 lines
582 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;
};
}