mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
magic-enum: 0.9.6 -> 0.9.7
Diff: https://github.com/Neargye/magic_enum/compare/refs/tags/v0.9.6...v0.9.7 Changelog: https://github.com/Neargye/magic_enum/releases/tag/v0.9.7
This commit is contained in:
parent
a78a226cec
commit
3adc16211c
1 changed files with 8 additions and 9 deletions
|
@ -4,17 +4,16 @@
|
|||
stdenv,
|
||||
cmake,
|
||||
nix-update-script,
|
||||
testers,
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "magic-enum";
|
||||
version = "0.9.6";
|
||||
version = "0.9.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Neargye";
|
||||
repo = "magic_enum";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-1pO9FWd0InXqg8+lwRF3YNFTAeVLjqoI9v15LjWxnZY=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-P6fl/dcGOSE1lTJwZlimbvsTPelHwdQdZr18H4Zji20=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
@ -23,8 +22,8 @@ stdenv.mkDerivation rec {
|
|||
# the cmake package does not handle absolute CMAKE_INSTALL_INCLUDEDIR correctly
|
||||
# (setting it to an absolute path causes include files to go to $out/$out/include,
|
||||
# because the absolute path is interpreted with root at $out).
|
||||
"-DCMAKE_INSTALL_INCLUDEDIR=include"
|
||||
"-DCMAKE_INSTALL_LIBDIR=lib"
|
||||
(lib.cmakeFeature "CMAKE_INSTALL_INCLUDEDIR" "include")
|
||||
(lib.cmakeFeature "CMAKE_INSTALL_LIBDIR" "lib")
|
||||
];
|
||||
|
||||
passthru = {
|
||||
|
@ -34,8 +33,8 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
description = "Static reflection for enums (to string, from string, iteration) for modern C++";
|
||||
homepage = "https://github.com/Neargye/magic_enum";
|
||||
changelog = "https://github.com/Neargye/magic_enum/releases/tag/v${version}";
|
||||
changelog = "https://github.com/Neargye/magic_enum/releases/tag/v${finalAttrs.version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ Alper-Celik ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue