about summary refs log tree commit diff
path: root/pkgs/by-name/uc/ucblogo/package.nix
blob: 40ccdecf6c68f15121368cd0a2abf1162f7cc2f7 (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
33
34
35
36
37
38
39
40
41
42
43
44
{ lib
, stdenv
, fetchFromGitHub
, wxGTK32
, texinfo
, tetex
, wrapGAppsHook
, autoconf-archive
, autoreconfHook
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "ucblogo-code";
  version = "6.2.4";

  src = fetchFromGitHub {
    owner = "jrincayc";
    repo = "ucblogo-code";
    rev = "ca23b30a62eaaf03ea203ae71d00dc45a046514e";
    hash = "sha256-BVNKkT0YUqI/z5W6Y/u3WbrHmaw7Z165vFt/mlzjd+8=";
  };

  nativeBuildInputs = [
    autoreconfHook
    autoconf-archive
    texinfo
    tetex
    wrapGAppsHook
  ];

  buildInputs = [
    wxGTK32
  ];

  meta = with lib; {
    description = "Berkeley Logo interpreter";
    homepage = "https://github.com/jrincayc/ucblogo-code";
    changelog = "https://github.com/jrincayc/ucblogo-code/blob/${finalAttrs.src.rev}/changes.txt";
    license = licenses.gpl3Only;
    maintainers = with maintainers; [ matthewcroughan ];
    mainProgram = "ucblogo-code";
    platforms = platforms.all;
  };
})