cmakerc: init at 2.0.1
This commit is contained in:
parent
7dd0fd6dc6
commit
84ab279895
1 changed files with 32 additions and 0 deletions
32
pkgs/by-name/cm/cmakerc/package.nix
Normal file
32
pkgs/by-name/cm/cmakerc/package.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ lib
|
||||
, stdenvNoCC
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "cmrc";
|
||||
version = "2.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vector-of-bool";
|
||||
repo = "cmrc";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-++16WAs2K9BKk8384yaSI/YD1CdtdyXVBIjGhqi4JIk=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install CMakeRC.cmake -DT $out/share/cmakerc/cmakerc-config.cmake
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A Resource Compiler in a Single CMake Script";
|
||||
homepage = "https://github.com/vector-of-bool/cmrc";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ guekka ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
})
|
Loading…
Reference in a new issue