1 {lib, stdenv, fetchurl, libX11, libXft}:
2 stdenv.mkDerivation rec {
5 # or fetchFromGitHub(owner,repo,rev) or fetchgit(rev)
7 url = "https://www.fractint.net/ftp/current/linux/xfractint-${version}.tar.gz";
8 sha256 = "1ba77jifxv8jql044mdydh4p4ms4w5vw3qrqmcfzlvqfxk7h2m2f";
11 buildInputs = [libX11 libXft];
14 sed -e 's@/usr/bin/@@' -i Makefile
17 makeFlags = ["PREFIX=$(out)"];
21 # Code cannot be used in commercial programs
22 # Looks like the definition hinges on the price, not license
23 license = lib.licenses.unfree;
24 maintainers = [lib.maintainers.raskin];
25 platforms = lib.platforms.linux;
26 homepage = "https://www.fractint.net/";
27 mainProgram = "xfractint";