Merge pull request #200297 from McSinyx/fead

authored by

Sandro and committed by
GitHub
eda10ef0 399fc528

+39
+37
pkgs/applications/misc/fead/default.nix
··· 1 + { lib, stdenv, fetchFromSourcehut, python3, help2man }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "fead"; 5 + version = "0.1.3"; 6 + 7 + src = fetchFromSourcehut { 8 + owner = "~cnx"; 9 + repo = pname; 10 + rev = version; 11 + sha256 = "sha256-cW0GxyvC9url2QAAWD0M2pR4gBiPA3eeAaw77TwMV/0="; 12 + }; 13 + 14 + nativeBuildInputs = [ help2man ]; 15 + buildInputs = [ python3 ]; 16 + 17 + # Needed for man page generation in build phase 18 + postPatch = '' 19 + patchShebangs src/fead.py 20 + ''; 21 + 22 + makeFlags = [ "PREFIX=$(out)" ]; 23 + 24 + # Already done in postPatch phase 25 + dontPatchShebangs = true; 26 + 27 + # The package has no tests. 28 + doCheck = false; 29 + 30 + meta = with lib; { 31 + description = "Advert generator from web feeds"; 32 + homepage = "https://git.sr.ht/~cnx/fead"; 33 + license = licenses.agpl3Plus; 34 + changelog = "https://git.sr.ht/~cnx/fead/refs/${version}"; 35 + maintainers = with maintainers; [ McSinyx ]; 36 + }; 37 + }
+2
pkgs/top-level/all-packages.nix
··· 7430 7430 7431 7431 fdk-aac-encoder = callPackage ../applications/audio/fdkaac { }; 7432 7432 7433 + fead = callPackage ../applications/misc/fead { }; 7434 + 7433 7435 feedgnuplot = callPackage ../tools/graphics/feedgnuplot { }; 7434 7436 7435 7437 fbcat = callPackage ../tools/misc/fbcat { };