forgejo-lts: 7.0.10 -> 7.0.11
[NixPkgs.git] / pkgs / by-name / re / redo-c / package.nix
blobffa93b0d7dcb5864491f667284510eef06e8c980
1 { lib, stdenv, fetchFromGitHub }:
2 stdenv.mkDerivation rec {
3   pname = "redo-c";
4   version = "0.3";
6   src = fetchFromGitHub {
7     owner = "leahneukirchen";
8     repo = pname;
9     rev = "v${version}";
10     sha256 = "sha256-oZcaBgESIaD7/SUBE7luh7axucKTEzXPVkQAQs2NCXE=";
11   };
13   postPatch = ''
14     cp '${./Makefile}' Makefile
15   '';
17   meta = with lib; {
18     description = "Implementation of the redo build system in portable C with zero dependencies";
19     homepage = "https://github.com/leahneukirchen/redo-c";
20     license = licenses.cc0;
21     platforms = platforms.all;
22     maintainers = with maintainers; [ ck3d ];
23   };