7 stdenv.mkDerivation rec {
11 src = fetchFromGitHub {
15 sha256 = "sha256-I2M/FlLRkGtD2+GcK1l5+vFsb5tCb4T3UJTPxRx68Ww=";
20 substituteInPlace src/starfetch.cpp --replace /usr/local/ $out/
22 + lib.optionalString stdenv.cc.isClang ''
23 substituteInPlace makefile --replace g++ clang++
30 mkdir -p $out/share/starfetch
31 cp starfetch $out/bin/
32 cp -r res/* $out/share/starfetch/
38 description = "CLI star constellations displayer";
39 homepage = "https://github.com/Haruno19/starfetch";
40 license = licenses.gpl3Plus;
41 platforms = platforms.all;
42 maintainers = with maintainers; [ annaaurora ];
43 mainProgram = "starfetch";