depot/third_party/nixpkgs/pkgs/applications/audio/yasr/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

29 lines
872 B
Nix

{lib, stdenv,fetchurl}:
stdenv.mkDerivation rec {
pname = "yasr";
version = "0.6.9";
src = fetchurl {
url = "https://sourceforge.net/projects/yasr/files/yasr/${version}/${pname}-${version}.tar.gz";
sha256 = "1prv9r9y6jb5ga5578ldiw507fa414m60xhlvjl29278p3x7rwa1";
};
patches = [
./10_fix_openpty_forkpty_declarations.patch
./20_maxpathlen.patch
./30_conf.patch
./40_dectalk_extended_chars.patch
]; # taken from the debian yasr package
meta = {
homepage = "https://yasr.sourceforge.net";
description = "General-purpose console screen reader";
longDescription = "Yasr is a general-purpose console screen reader for GNU/Linux and other Unix-like operating systems.";
platforms = lib.platforms.linux;
license = lib.licenses.gpl2;
maintainers = with lib.maintainers; [ jhhuh ];
mainProgram = "yasr";
};
}