nixpkgs/pkgs/development/embedded/teensy-cmake-macros/default.nix
Michael Donovan 3cecf7bb5a teensy-cmake-macros: init at unstable-2023-04-15
Co-authored-by: Anderson Torres <torres.anderson.85@protonmail.com>
2023-08-19 22:22:45 +00:00

36 lines
821 B
Nix

{ stdenv
, lib
, fetchFromGitHub
, cmake
, pkg-config
, callPackage
}:
stdenv.mkDerivation (finalAttrs: {
pname = "teensy-cmake-macros";
version = "unstable-2023-04-15";
src = fetchFromGitHub {
owner = "newdigate";
repo = "teensy-cmake-macros";
rev = "dc401ed23e6e13a9db3cd2a65f611a4738df3b0e";
hash = "sha256-E+BOlsCJtOScr3B5GSv1WM6rFv6cFYvm/iJ893fsmXM=";
};
propagatedBuildInputs = [ cmake pkg-config ];
passthru = {
hook = callPackage ./hook.nix {
teensy-cmake-macros = finalAttrs.finalPackage;
};
};
meta = with lib; {
description = "CMake macros for building teensy projects";
platforms = platforms.all;
homepage = "https://github.com/newdigate/teensy-cmake-macros";
license = licenses.mit;
maintainers = [ maintainers.michaeldonovan ];
};
})