cfdg: remove src-for-default.nix, cleanups (#192727)

authored by erdnaxe and committed by GitHub a2c41adf d27df096

+7 -11
+7 -2
pkgs/tools/graphics/cfdg/default.nix
··· 10 10 sha256 = "13m8npccacmgxbs4il45zw53dskjh53ngv2nxahwqw8shjrws4mh"; 11 11 }; 12 12 13 - buildInputs = [ libpng bison flex ffmpeg icu ]; 13 + nativeBuildInputs = [ bison flex ]; 14 + buildInputs = [ libpng ffmpeg icu ]; 14 15 15 16 postPatch = '' 16 17 sed -e "/YY_NO_UNISTD/a#include <stdio.h>" -i src-common/cfdg.l ··· 18 19 ''; 19 20 20 21 installPhase = '' 22 + runHook preInstall 23 + 21 24 mkdir -p $out/bin 22 25 cp cfdg $out/bin/ 23 26 24 27 mkdir -p $out/share/doc/${pname}-${version} 25 28 cp *.txt $out/share/doc/${pname}-${version} 29 + 30 + runHook postInstall 26 31 ''; 27 32 28 33 meta = with lib; { ··· 30 35 maintainers = with maintainers; [ raskin ]; 31 36 platforms = platforms.linux; 32 37 homepage = "https://contextfreeart.org/"; 33 - license = licenses.gpl2; 38 + license = licenses.gpl2Only; 34 39 }; 35 40 }
-9
pkgs/tools/graphics/cfdg/src-for-default.nix
··· 1 - { 2 - version="3.0.2"; 3 - name="cfdg-3.0.2"; 4 - hash="1pd1hjippbhad8l4s4lsglykh22i24qfrgmnxrsx71bvcqbr356p"; 5 - url="http://www.contextfreeart.org/download/ContextFreeSource3.0.2.tgz"; 6 - advertisedUrl="http://www.contextfreeart.org/download/ContextFreeSource3.0.2.tgz"; 7 - 8 - 9 - }