6 stdenvNoCC.mkDerivation (finalAttrs: {
10 src = fetchFromGitHub {
13 rev = "v${finalAttrs.version}";
14 hash = "sha256-6y3kZyhY1WKHLw3ekZMQeoSGUgxhBu8dPl58ZnCDa+E=";
23 mkdir -p $out/share/{,doc/}cpm
24 install -Dm644 cmake/CPM.cmake $out/share/cpm/CPM.cmake
25 install -Dm644 README.md CONTRIBUTING.md $out/share/doc/cpm/
31 homepage = "https://github.com/cpm-cmake/CPM.cmake";
32 description = "CMake's missing package manager";
34 CPM.cmake is a cross-platform CMake script that adds dependency
35 management capabilities to CMake. It's built as a thin wrapper around
36 CMake's FetchContent module that adds version control, caching, a
39 license = licenses.mit;
40 maintainers = with maintainers; [ ];
41 platforms = platforms.all;