nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 38 lines 696 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 zlib, 6 cmake, 7}: 8 9stdenv.mkDerivation (finalAttrs: { 10 pname = "ptex"; 11 version = "2.4.2"; 12 13 src = fetchFromGitHub { 14 owner = "wdas"; 15 repo = "ptex"; 16 rev = "v${finalAttrs.version}"; 17 sha256 = "sha256-PR1ld9rXmL6BK4llznAsD5PNvi3anFMz2i9NDsG95DQ="; 18 }; 19 20 outputs = [ 21 "bin" 22 "dev" 23 "out" 24 "lib" 25 ]; 26 27 nativeBuildInputs = [ cmake ]; 28 buildInputs = [ zlib ]; 29 30 meta = { 31 description = "Per-Face Texture Mapping for Production Rendering"; 32 mainProgram = "ptxinfo"; 33 homepage = "http://ptex.us/"; 34 license = lib.licenses.bsd3; 35 platforms = lib.platforms.all; 36 maintainers = [ lib.maintainers.guibou ]; 37 }; 38})