about summary refs log tree commit diff
path: root/pkgs/applications/science/machine-learning/uarmsolver/default.nix
blob: 2f24f782927bc199900c59c3090691828917535c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ lib
, stdenv
, fetchFromGitHub
, cmake
}:

stdenv.mkDerivation rec {
  pname = "uarmsolver";
  version = "0.3.0";

  src = fetchFromGitHub {
   owner = "firefly-cpp";
   repo = "uARMSolver";
   rev = version;
   sha256 = "sha256-IMlh6Y5iVouMZatR1uxw0gUNZBdh2qm56s+GEjcr1+M=";
  };

  nativeBuildInputs = [ cmake ];

  installPhase = ''
    install -D -t $out/bin uARMSolver
  '';

  meta = with lib; {
    description = "universal Association Rule Mining Solver";
    mainProgram = "uARMSolver";
    homepage    = "https://github.com/firefly-cpp/uARMSolver";
    license     = licenses.mit;
    platforms   = platforms.linux;
    maintainers = with maintainers; [ firefly-cpp ];
  };
}