commit
8a48fe1682
10
pkgs/development/tools/build-managers/redo-c/Makefile
Normal file
10
pkgs/development/tools/build-managers/redo-c/Makefile
Normal file
@ -0,0 +1,10 @@
|
||||
CFLAGS=-Os
|
||||
|
||||
all: redo links
|
||||
|
||||
links:
|
||||
sh links.do
|
||||
|
||||
install:
|
||||
mkdir -p "$(out)/bin"
|
||||
cp --no-dereference redo redo-* "$(out)/bin"
|
24
pkgs/development/tools/build-managers/redo-c/default.nix
Normal file
24
pkgs/development/tools/build-managers/redo-c/default.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "redo-c";
|
||||
version = "0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "leahneukirchen";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "11wc2sgw1ssdm83cjdc6ndnp1bv5mzhbw7njw47mk7ri1ic1x51b";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
cp '${./Makefile}' Makefile
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "An implementation of the redo build system in portable C with zero dependencies";
|
||||
homepage = "https://github.com/leahneukirchen/redo-c";
|
||||
license = licenses.cc0;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ ck3d ];
|
||||
};
|
||||
}
|
@ -11020,6 +11020,8 @@ in
|
||||
|
||||
redo-apenwarr = callPackage ../development/tools/build-managers/redo-apenwarr { };
|
||||
|
||||
redo-c = callPackage ../development/tools/build-managers/redo-c { };
|
||||
|
||||
redo-sh = callPackage ../development/tools/build-managers/redo-sh { };
|
||||
|
||||
reno = callPackage ../development/tools/reno { };
|
||||
|
Loading…
Reference in New Issue
Block a user