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 sha256 = "13m8npccacmgxbs4il45zw53dskjh53ngv2nxahwqw8shjrws4mh"; 11 }; 12 13 - buildInputs = [ libpng bison flex ffmpeg icu ]; 14 15 postPatch = '' 16 sed -e "/YY_NO_UNISTD/a#include <stdio.h>" -i src-common/cfdg.l ··· 18 ''; 19 20 installPhase = '' 21 mkdir -p $out/bin 22 cp cfdg $out/bin/ 23 24 mkdir -p $out/share/doc/${pname}-${version} 25 cp *.txt $out/share/doc/${pname}-${version} 26 ''; 27 28 meta = with lib; { ··· 30 maintainers = with maintainers; [ raskin ]; 31 platforms = platforms.linux; 32 homepage = "https://contextfreeart.org/"; 33 - license = licenses.gpl2; 34 }; 35 }
··· 10 sha256 = "13m8npccacmgxbs4il45zw53dskjh53ngv2nxahwqw8shjrws4mh"; 11 }; 12 13 + nativeBuildInputs = [ bison flex ]; 14 + buildInputs = [ libpng ffmpeg icu ]; 15 16 postPatch = '' 17 sed -e "/YY_NO_UNISTD/a#include <stdio.h>" -i src-common/cfdg.l ··· 19 ''; 20 21 installPhase = '' 22 + runHook preInstall 23 + 24 mkdir -p $out/bin 25 cp cfdg $out/bin/ 26 27 mkdir -p $out/share/doc/${pname}-${version} 28 cp *.txt $out/share/doc/${pname}-${version} 29 + 30 + runHook postInstall 31 ''; 32 33 meta = with lib; { ··· 35 maintainers = with maintainers; [ raskin ]; 36 platforms = platforms.linux; 37 homepage = "https://contextfreeart.org/"; 38 + license = licenses.gpl2Only; 39 }; 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 - }
···