nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 47 lines 850 B view raw
1{ 2 stdenv, 3 lib, 4 fetchFromGitHub, 5 cmake, 6 glm, 7 gtest, 8 tinycmmc, 9}: 10 11stdenv.mkDerivation (finalAttrs: { 12 pname = "geomcpp"; 13 version = "0.0.0-unstable-2025-06-11"; 14 15 src = fetchFromGitHub { 16 owner = "Grumbel"; 17 repo = "geomcpp"; 18 rev = "282e3710fbe6dacee630391e4af8ffe03181f8a9"; 19 sha256 = "sha256-M4a6P6J/PBDklpOiR81Nah0STlXFI48+mQkNqMBicKQ="; 20 }; 21 22 nativeBuildInputs = [ cmake ]; 23 buildInputs = [ 24 gtest 25 tinycmmc 26 ]; 27 propagatedBuildInputs = [ glm ]; 28 29 cmakeFlags = [ 30 "-DWARNINGS=ON" 31 "-DWERROR=ON" 32 "-DBUILD_TESTS=ON" 33 ]; 34 35 doCheck = true; 36 37 postPatch = '' 38 echo $version > VERSION 39 ''; 40 41 meta = { 42 description = "Collection of point, size and rect classes"; 43 maintainers = [ lib.maintainers.SchweGELBin ]; 44 platforms = lib.platforms.linux; 45 license = lib.licenses.free; 46 }; 47})