summary refs log tree commit diff
path: root/pkgs/development/tools/build-managers/redo/default.nix
blob: 8063b6747666ec33ef8345aac0a1000eb0e0a98d (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
{stdenv, fetchurl, perl }:

stdenv.mkDerivation rec {
  name = "redo-1.2";
  src = fetchurl {
    url = "https://jdebp.eu./Repository/freebsd/${name}.tar.gz";
    sha256 = "0qr8plllxfn32r4rgnalzlhcs3b4l8a4ga8ig9v8i5iy1qnfhqnf";
  };

  nativeBuildInputs = [ perl /* for pod2man */ ];

  sourceRoot = ".";

  buildPhase = ''
    ./package/compile
  '';
  installPhase = ''
    ./package/export $out/
  '';

  meta = {
    homepage = https://jdebp.eu./Softwares/redo/;
    description = "A system for building target files from source files";
    license = stdenv.lib.licenses.bsd2;
    maintainers = [ stdenv.lib.maintainers.vrthra ];
    platforms = stdenv.lib.platforms.unix;
  };
}