3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/graphics/xfractint/default.nix

30 lines
819 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 08:32:15 +01: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 08:32:15 +01: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 = {
inherit version;
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
};
}