Files
nixpkgs/pkgs/by-name/xf/xfractint/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

43 lines
911 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 = ''
runHook preConfigure
sed -e 's@/usr/bin/@@' -i Makefile
runHook postConfigure
'';
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/";
mainProgram = "xfractint";
};
}