cpm: init at 0.35.1
This commit is contained in:
parent
f1ce2d43a1
commit
bc5e66a82b
39
pkgs/development/tools/cpm/default.nix
Normal file
39
pkgs/development/tools/cpm/default.nix
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "cpm";
|
||||||
|
version = "0.35.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "cpm-cmake";
|
||||||
|
repo = "CPM.cmake";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-Oon/5iwkUUASsUDvde69iEwLe8/CAzwYKYsyzH5K+V0=";
|
||||||
|
};
|
||||||
|
|
||||||
|
dontConfigure = true;
|
||||||
|
|
||||||
|
dontBuild = true;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p ${placeholder "out"}/share/cpm/
|
||||||
|
cp ./cmake/CPM.cmake ${placeholder "out"}/share/cpm/
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/cpm-cmake/CPM.cmake";
|
||||||
|
description = "CMake's missing package manager";
|
||||||
|
longDescription = ''
|
||||||
|
CPM.cmake is a cross-platform CMake script that adds dependency
|
||||||
|
management capabilities to CMake. It's built as a thin wrapper around
|
||||||
|
CMake's FetchContent module that adds version control, caching, a
|
||||||
|
simple API and more.
|
||||||
|
'';
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ ken-matsui ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
@ -382,6 +382,8 @@ with pkgs;
|
|||||||
|
|
||||||
cp437 = callPackage ../tools/misc/cp437 { };
|
cp437 = callPackage ../tools/misc/cp437 { };
|
||||||
|
|
||||||
|
cpm = callPackage ../development/tools/cpm { };
|
||||||
|
|
||||||
cpu-x = callPackage ../applications/misc/cpu-x { };
|
cpu-x = callPackage ../applications/misc/cpu-x { };
|
||||||
|
|
||||||
crackle = callPackage ../tools/networking/crackle { };
|
crackle = callPackage ../tools/networking/crackle { };
|
||||||
|
Loading…
Reference in New Issue
Block a user