nixpkgs/pkgs/by-name/wi/wily/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
790 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, libX11, libXt } :
2016-07-04 18:12:04 +00:00
stdenv.mkDerivation rec {
version = "0.13.42";
pname = "wily";
2016-07-04 18:12:04 +00:00
src = fetchurl {
url = "mirror://sourceforge/wily/${pname}-${version}.tar.gz";
2016-07-04 18:12:04 +00:00
sha256 = "1jy4czk39sh365b0mjpj4d5wmymj98x163vmwzyx3j183jqrhm2z";
};
buildInputs = [ libX11 libXt ];
2024-04-07 18:41:47 +00:00
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"
]);
2016-07-04 18:12:04 +00:00
preInstall = ''
mkdir -p $out/bin
'';
meta = with lib; {
2016-07-04 18:12:04 +00:00
description = "Emulation of ACME";
homepage = "http://wily.sourceforge.net";
2016-07-04 18:12:04 +00:00
license = licenses.artistic1;
maintainers = [ ];
platforms = platforms.unix;
2023-11-27 01:17:53 +00:00
mainProgram = "wily";
2016-07-04 18:12:04 +00:00
};
}