depot/third_party/nixpkgs/pkgs/applications/editors/wily/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

32 lines
790 B
Nix

{ lib, stdenv, fetchurl, libX11, libXt } :
stdenv.mkDerivation rec {
version = "0.13.42";
pname = "wily";
src = fetchurl {
url = "mirror://sourceforge/wily/${pname}-${version}.tar.gz";
sha256 = "1jy4czk39sh365b0mjpj4d5wmymj98x163vmwzyx3j183jqrhm2z";
};
buildInputs = [ libX11 libXt ];
env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.cc.isClang [
"-Wno-error=implicit-int"
"-Wno-error=implicit-function-declaration"
"-Wno-error=incompatible-function-pointer-types"
]);
preInstall = ''
mkdir -p $out/bin
'';
meta = with lib; {
description = "Emulation of ACME";
homepage = "http://wily.sourceforge.net";
license = licenses.artistic1;
maintainers = [ ];
platforms = platforms.unix;
mainProgram = "wily";
};
}