forked from mirrors/nixpkgs
ptex: init at 2.1.28
This commit is contained in:
parent
bed68ed344
commit
7f83bf4261
45
pkgs/development/libraries/ptex/default.nix
Normal file
45
pkgs/development/libraries/ptex/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue