2022-08-08 19:59:42 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, zlib, cmake }:
|
2017-09-17 19:51:15 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec
|
|
|
|
{
|
2019-08-13 09:07:27 +00:00
|
|
|
pname = "ptex";
|
2022-08-08 19:59:42 +00:00
|
|
|
version = "2.4.2";
|
2017-09-17 19:51:15 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "wdas";
|
|
|
|
repo = "ptex";
|
|
|
|
rev = "v${version}";
|
2022-08-08 19:59:42 +00:00
|
|
|
sha256 = "sha256-PR1ld9rXmL6BK4llznAsD5PNvi3anFMz2i9NDsG95DQ=";
|
2017-09-17 19:51:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
outputs = [ "bin" "dev" "out" "lib" ];
|
|
|
|
|
2020-12-31 07:48:55 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2022-08-08 19:59:42 +00:00
|
|
|
buildInputs = [ zlib ];
|
2017-09-17 19:51:15 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2017-09-17 19:51:15 +00:00
|
|
|
description = "Per-Face Texture Mapping for Production Rendering";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "ptxinfo";
|
2017-09-17 19:51:15 +00:00
|
|
|
homepage = "http://ptex.us/";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.guibou ];
|
|
|
|
};
|
|
|
|
}
|