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

30 lines
819 B
Nix
Raw Normal View History

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