about summary refs log tree commit diff
path: root/pkgs/applications/audio/yasr/default.nix
blob: 1008d3e8e983cd0c63340041166c4399a76508de (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{stdenv,fetchurl}:

stdenv.mkDerivation rec {
  name = "yasr-${version}";

  version = "0.6.9";

  src = fetchurl {
    url = "https://sourceforge.net/projects/yasr/files/yasr/${version}/${name}.tar.gz";
    sha256 = "1prv9r9y6jb5ga5578ldiw507fa414m60xhlvjl29278p3x7rwa1";
  };

  patches = [
    ./10_fix_openpty_forkpty_declarations
    ./20_maxpathlen
    ./30_conf
    ./40_dectalk_extended_chars
  ]; # taken from the debian yasr package

  meta = {
    homepage = "http://yasr.sourceforge.net";
    description = "A general-purpose console screen reader";
    longDescription = "Yasr is a general-purpose console screen reader for GNU/Linux and other Unix-like operating systems.";
    platforms = stdenv.lib.platforms.linux;
    license = stdenv.lib.licenses.gpl2;
    maintainers = with stdenv.lib.maintainers; [ jhhuh ];
  };
}