nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 43 lines 993 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 libmrss, 6}: 7 8stdenv.mkDerivation (final: { 9 pname = "rsstail"; 10 version = "2.2"; 11 12 src = fetchFromGitHub { 13 owner = "folkertvanheusden"; 14 repo = "rsstail"; 15 rev = "v${final.version}"; 16 hash = "sha256-wbdf9zhwMN7QhJ5WoJo1Csu0EcKUTON8Q2Ic5scbn7I="; 17 }; 18 19 buildInputs = [ libmrss ]; 20 21 makeFlags = [ "prefix=$(out)" ]; 22 enableParallelBuilding = true; 23 24 env = lib.optionalAttrs stdenv.hostPlatform.isDarwin { 25 NIX_LDFLAGS = "-liconv"; 26 }; 27 28 # just runs cppcheck linter 29 doCheck = false; 30 31 meta = with lib; { 32 description = "Monitor RSS feeds for new entries"; 33 mainProgram = "rsstail"; 34 longDescription = '' 35 RSSTail is more or less an RSS reader: it monitors an RSS feed and if it 36 detects a new entry it'll emit only that new entry. 37 ''; 38 homepage = "https://www.vanheusden.com/rsstail/"; 39 license = licenses.gpl2Only; 40 maintainers = [ maintainers.Necior ]; 41 platforms = platforms.unix; 42 }; 43})