depot/third_party/nixpkgs/pkgs/development/embedded/teensy-cmake-macros/default.nix
Default email c7f94ff3ce Project import generated by Copybara.
GitOrigin-RevId: b85ed9dcbf187b909ef7964774f8847d554fab3b
2023-08-22 22:05:09 +02:00

35 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 ];
};
})