commit 9c55f217c6dbb29bb4805dcf0ab230b91b991fa4 parent 1f878c06deeb74b871cea37fcd2d2e4810bde08e Author: Nikolay Korotkiy <sikmir@gmail.com> Date: Fri, 18 Jun 2021 12:10:06 +0300 Add scc Diffstat:
M | pkgs/default.nix | | | 1 | + |
A | pkgs/suckless/scc/default.nix | | | 26 | ++++++++++++++++++++++++++ |
2 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -280,6 +280,7 @@ lib.makeScope newScope ( quark = callPackage ./suckless/quark { }; saait = callPackage ./suckless/saait { }; sbase = callPackage ./suckless/sbase { }; + scc = callPackage ./suckless/scc { }; scroll = callPackage ./suckless/scroll { }; sfeed = callPackage ./suckless/sfeed { }; sthkd = callPackage ./suckless/sthkd { }; diff --git a/pkgs/suckless/scc/default.nix b/pkgs/suckless/scc/default.nix @@ -0,0 +1,26 @@ +{ lib, stdenv, fetchgit }: + +stdenv.mkDerivation { + pname = "scc"; + version = "2021-05-30"; + + src = fetchgit { + url = "git://git.simple-cc.org/scc"; + rev = "cbd81e63f9c872b7817b137e4b66ee4801a18467"; + sha256 = "sha256-VdRZ7VR8Uzl3DYMCDlxzbFW3R9dGmYfWue7uSi58ug0="; + }; + + makeFlags = [ "PREFIX=$(out)" ]; + + #doCheck = true; + checkTarget = "tests"; + + meta = with lib; { + description = "Simple c99 compiler"; + homepage = "https://www.simple-cc.org/"; + license = licenses.isc; + maintainers = [ maintainers.sikmir ]; + platforms = platforms.linux; + skip.ci = stdenv.isDarwin; + }; +}