3
0
Fork 0
forked from mirrors/nixpkgs

ptex: init at 2.1.28

This commit is contained in:
Guillaume Bouchard 2017-09-17 21:51:15 +02:00
parent bed68ed344
commit 7f83bf4261
2 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1,45 @@
{ stdenv, fetchFromGitHub, zlib, python, cmake }:
stdenv.mkDerivation rec
{
name = "ptex-${version}";
version = "2.1.28";
src = fetchFromGitHub {
owner = "wdas";
repo = "ptex";
rev = "v${version}";
sha256 = "1h6gb3mpis4m6ph7h9q764w50f9jrar3jz2ja76rn5czy6wn318x";
};
outputs = [ "bin" "dev" "out" "lib" ];
buildInputs = [ zlib python cmake ];
sourceRoot = "ptex-v${version}-src";
enableParallelBuilding = true;
buildPhase = ''
mkdir -p $out
make prefix=$out
mkdir -p $bin/bin
mkdir -p $dev/include
mkdir -p $lib/lib
'';
installPhase = ''
make install
mv $out/bin $bin/
'';
meta = with stdenv.lib; {
description = "Per-Face Texture Mapping for Production Rendering";
homepage = "http://ptex.us/";
license = licenses.bsd3;
platforms = platforms.all;
maintainers = [ maintainers.guibou ];
};
}

View file

@ -15740,6 +15740,8 @@ with pkgs;
polybar = callPackage ../applications/misc/polybar { };
ptex = callPackage ../development/libraries/ptex {};
rssguard = libsForQt5.callPackage ../applications/networking/feedreaders/rssguard { };
scudcloud = callPackage ../applications/networking/instant-messengers/scudcloud { };