d87170d3f2
GitOrigin-RevId: 967d40bec14be87262b21ab901dbace23b7365db
28 lines
798 B
Nix
28 lines
798 B
Nix
{lib, stdenv, fetchurl, libX11, libXft}:
|
|
stdenv.mkDerivation rec {
|
|
pname = "xfractint";
|
|
version = "20.04p16";
|
|
# or fetchFromGitHub(owner,repo,rev) or fetchgit(rev)
|
|
src = fetchurl {
|
|
url = "https://www.fractint.net/ftp/current/linux/xfractint-${version}.tar.gz";
|
|
sha256 = "1ba77jifxv8jql044mdydh4p4ms4w5vw3qrqmcfzlvqfxk7h2m2f";
|
|
};
|
|
|
|
buildInputs = [libX11 libXft];
|
|
|
|
configurePhase = ''
|
|
sed -e 's@/usr/bin/@@' -i Makefile
|
|
'';
|
|
|
|
makeFlags = ["PREFIX=$(out)"];
|
|
|
|
meta = {
|
|
description = "";
|
|
# Code cannot be used in commercial programs
|
|
# Looks like the definition hinges on the price, not license
|
|
license = lib.licenses.unfree;
|
|
maintainers = [lib.maintainers.raskin];
|
|
platforms = lib.platforms.linux;
|
|
homepage = "https://www.fractint.net/";
|
|
};
|
|
}
|