biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / embedded / teensy-cmake-macros / default.nix
blob7254becdbce707e715a8b3e0c884689e768a85b0
1 { stdenv
2 , lib
3 , fetchFromGitHub
4 , cmake
5 , pkg-config
6 , callPackage
7 }:
9 stdenv.mkDerivation (finalAttrs: {
10   pname = "teensy-cmake-macros";
11   version = "unstable-2023-04-15";
13   src = fetchFromGitHub {
14     owner = "newdigate";
15     repo = "teensy-cmake-macros";
16     rev = "dc401ed23e6e13a9db3cd2a65f611a4738df3b0e";
17     hash = "sha256-E+BOlsCJtOScr3B5GSv1WM6rFv6cFYvm/iJ893fsmXM=";
18   };
20   propagatedBuildInputs = [ cmake pkg-config ];
22   passthru = {
23     hook = callPackage ./hook.nix {
24       teensy-cmake-macros = finalAttrs.finalPackage;
25     };
26   };
28   meta = with lib; {
29     description = "CMake macros for building teensy projects";
30     platforms = platforms.all;
31     homepage = "https://github.com/newdigate/teensy-cmake-macros";
32     license = licenses.mit;
33     maintainers = [ maintainers.michaeldonovan ];
34   };