aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/applications/editors/qemacs/default.nix
blob: 065dccb2b2197ddb8edc281bb935106e2c39cc2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ fetchurl, lib, stdenv, xlibsWrapper, libXv, libpng }:

stdenv.mkDerivation rec {
  pname = "qemacs";
  version = "0.3.3";

  src = fetchurl {
    url = "https://bellard.org/${pname}/${pname}-${version}.tar.gz";
    sha256 = "156z4wpj49i6j388yjird5qvrph7hz0grb4r44l4jf3q8imadyrg";
  };

  buildInputs = [ xlibsWrapper libpng libXv ];

  preInstall = ''
    mkdir -p $out/bin $out/man
  '';

  meta = with lib; {
    homepage = "https://bellard.org/qemacs/";
    description = "Very small but powerful UNIX editor";
    license = licenses.lgpl2Only;
    maintainers = with maintainers; [ iblech ];
  };
}