about summary refs log tree commit diff
path: root/pkgs/by-name/re/redo/package.nix
blob: 8e3e138501e96ea59fb5240df39003c610d63e4c (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
{
  lib,
  stdenv,
  fetchFromGitHub,
  perl,
}:

stdenv.mkDerivation {
  pname = "redo";
  version = "1.4";

  src = fetchFromGitHub {
    owner = "jdebp";
    repo = "redo";
    rev = "91f5462339ef6373f9ac80902cfae2b614e2902b";
    hash = "sha256-cA8UN4aQnJ8VyMW3mDOIPna4Ucw1kp8CirZTDhSoCpU=";
  };

  nativeBuildInputs = [
    perl # for pod2man
  ];

  buildPhase = ''
    package/compile
  '';

  installPhase = ''
    package/export $out/
  '';

  meta = {
    homepage = "https://github.com/jdebp/redo";
    description = "System for building target files from source files";
    license = lib.licenses.bsd2;
    maintainers = with lib.maintainers; [ momeemt ];
    mainProgram = "redo";
    platforms = lib.platforms.unix;
  };
}