1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-14 00:25:24 +00:00
nixpkgs/pkgs/applications/window-managers/e16/default.nix

63 lines
1 KiB
Nix
Raw Normal View History

2021-04-12 19:58:53 +01:00
{ lib
, stdenv
, fetchurl
, pkg-config
, freetype
, imlib2
, libSM
, libXcomposite
, libXdamage
, libXext
, libXfixes
, libXft
, libXinerama
, libXrandr
, libpulseaudio
, libsndfile
, pango
, perl
}:
stdenv.mkDerivation rec {
pname = "e16";
version = "1.0.23";
src = fetchurl {
url = "mirror://sourceforge/enlightenment/e16-${version}.tar.xz";
sha256 = "028rn1plggacsvdd035qnnph4xw8nya34mmjvvl7d4gqj9pj293f";
};
nativeBuildInputs = [
pkg-config
];
buildInputs = [
freetype
imlib2
libSM
libXcomposite
libXdamage
libXext
libXfixes
libXft
libXinerama
libXrandr
libpulseaudio
libsndfile
pango
perl
];
postPatch = ''
substituteInPlace scripts/e_gen_menu --replace "/usr/local:" "/run/current-system/sw:/usr/local:"
'';
meta = with lib; {
homepage = "https://www.enlightenment.org/e16";
description = "Enlightenment DR16 window manager";
license = licenses.bsd2;
platforms = platforms.linux;
maintainers = [ maintainers.romildo ];
};
}