2021-01-17 00:15:33 +00:00
|
|
|
{lib, stdenv, fetchurl, libX11, libXft}:
|
2020-04-24 23:36:52 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xfractint";
|
2020-09-25 04:45:31 +00:00
|
|
|
version = "20.04p16";
|
2020-04-24 23:36:52 +00:00
|
|
|
# or fetchFromGitHub(owner,repo,rev) or fetchgit(rev)
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://www.fractint.net/ftp/current/linux/xfractint-${version}.tar.gz";
|
2020-09-25 04:45:31 +00:00
|
|
|
sha256 = "1ba77jifxv8jql044mdydh4p4ms4w5vw3qrqmcfzlvqfxk7h2m2f";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [libX11 libXft];
|
|
|
|
|
|
|
|
configurePhase = ''
|
|
|
|
sed -e 's@/usr/bin/@@' -i Makefile
|
|
|
|
'';
|
|
|
|
|
|
|
|
makeFlags = ["PREFIX=$(out)"];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
inherit version;
|
|
|
|
description = "";
|
|
|
|
# Code cannot be used in commercial programs
|
|
|
|
# Looks like the definition hinges on the price, not license
|
2021-01-17 00:15:33 +00:00
|
|
|
license = lib.licenses.unfree;
|
|
|
|
maintainers = [lib.maintainers.raskin];
|
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://www.fractint.net/";
|
|
|
|
};
|
|
|
|
}
|