nixpkgs/pkgs/applications/graphics/xfractint/default.nix

29 lines
798 B
Nix
Raw Normal View History

2021-01-15 13:21:58 +00:00
{lib, stdenv, fetchurl, libX11, libXft}:
2017-01-11 13:13:46 +00:00
stdenv.mkDerivation rec {
pname = "xfractint";
2020-08-31 07:32:15 +00:00
version = "20.04p16";
2017-01-11 13:13:46 +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-08-31 07:32:15 +00:00
sha256 = "1ba77jifxv8jql044mdydh4p4ms4w5vw3qrqmcfzlvqfxk7h2m2f";
2017-01-11 13:13:46 +00:00
};
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
2021-01-15 13:21:58 +00:00
license = lib.licenses.unfree;
maintainers = [lib.maintainers.raskin];
platforms = lib.platforms.linux;
homepage = "https://www.fractint.net/";
2017-01-11 13:13:46 +00:00
};
}