mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 10:53:11 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
33 lines
702 B
Nix
33 lines
702 B
Nix
{ 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 = "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;
|
|
};
|
|
})
|