nixpkgs/pkgs/by-name/re/redo/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
738 B
Nix
Raw Normal View History

{
lib,
stdenv,
fetchFromGitHub,
perl,
}:
stdenv.mkDerivation {
2021-06-20 14:15:21 +00:00
pname = "redo";
version = "1.4";
2024-04-16 19:53:41 +00:00
src = fetchFromGitHub {
owner = "jdebp";
repo = "redo";
rev = "91f5462339ef6373f9ac80902cfae2b614e2902b";
hash = "sha256-cA8UN4aQnJ8VyMW3mDOIPna4Ucw1kp8CirZTDhSoCpU=";
};
nativeBuildInputs = [
perl # for pod2man
];
buildPhase = ''
2024-04-16 19:53:41 +00:00
package/compile
'';
installPhase = ''
2024-04-16 19:53:41 +00:00
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;
};
}