nixpkgs/pkgs/development/libraries/ptex/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
615 B
Nix
Raw Normal View History

{ 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";
version = "2.4.2";
2017-09-17 19:51:15 +00:00
src = fetchFromGitHub {
owner = "wdas";
repo = "ptex";
rev = "v${version}";
sha256 = "sha256-PR1ld9rXmL6BK4llznAsD5PNvi3anFMz2i9NDsG95DQ=";
2017-09-17 19:51:15 +00:00
};
outputs = [ "bin" "dev" "out" "lib" ];
nativeBuildInputs = [ cmake ];
buildInputs = [ zlib ];
2017-09-17 19:51:15 +00:00
meta = with lib; {
2017-09-17 19:51:15 +00:00
description = "Per-Face Texture Mapping for Production Rendering";
homepage = "http://ptex.us/";
license = licenses.bsd3;
platforms = platforms.all;
maintainers = [ maintainers.guibou ];
};
}