mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 11:44:07 +00:00
25 lines
622 B
Nix
25 lines
622 B
Nix
{ lib, stdenv, fetchFromGitHub }:
|
|
stdenv.mkDerivation rec {
|
|
pname = "redo-c";
|
|
version = "0.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "leahneukirchen";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-oZcaBgESIaD7/SUBE7luh7axucKTEzXPVkQAQs2NCXE=";
|
|
};
|
|
|
|
postPatch = ''
|
|
cp '${./Makefile}' Makefile
|
|
'';
|
|
|
|
meta = with 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 ];
|
|
};
|
|
}
|