Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitHub, zlib, cmake }: 2 3stdenv.mkDerivation rec 4{ 5 pname = "ptex"; 6 version = "2.4.2"; 7 8 src = fetchFromGitHub { 9 owner = "wdas"; 10 repo = "ptex"; 11 rev = "v${version}"; 12 sha256 = "sha256-PR1ld9rXmL6BK4llznAsD5PNvi3anFMz2i9NDsG95DQ="; 13 }; 14 15 outputs = [ "bin" "dev" "out" "lib" ]; 16 17 nativeBuildInputs = [ cmake ]; 18 buildInputs = [ zlib ]; 19 20 meta = with lib; { 21 description = "Per-Face Texture Mapping for Production Rendering"; 22 homepage = "http://ptex.us/"; 23 license = licenses.bsd3; 24 platforms = platforms.all; 25 maintainers = [ maintainers.guibou ]; 26 }; 27}