generated from nix-community/nur-packages-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
libalf.nix
41 lines (34 loc) · 840 Bytes
/
libalf.nix
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
33
34
35
36
37
38
39
40
41
{ lib
, pkgs
, stdenv
, fetchFromGitHub
}:
stdenv.mkDerivation rec {
pname = "libalf";
version = "0.3-unstable-2020-05-12";
# https://github.com/libalf/libalf
srcAll = fetchFromGitHub {
owner = "libalf";
repo = "libalf";
rev = "37f449dde38faea4ff03b5fe777dc906e7341661";
sha256 = "sha256-YvypC3HNE50wnmtu7Dvdz7Pb0xwnQh0i4Jzl4e1SYWc="; # todo
};
src = srcAll + "/libalf";
makeFlags = [
"PREFIX=$(out)"
];
libamore = stdenv.mkDerivation {
pname = "libamore";
inherit version makeFlags;
src = srcAll + "/libAMoRE";
};
buildInputs = [
libamore
];
meta = with lib; {
description = "Automata Learning Factory";
homepage = "https://github.com/libalf/libalf";
#license = licenses.lgpl; # FIXME error: attribute 'lgpl' missing
#platforms = platforms.linux;
};
}