raspi-oled: init at unstable-infdev-2

This commit is contained in:
FliegendeWurst 2022-07-20 09:32:05 +02:00
parent 70401b53e4
commit b8b81a481c
2 changed files with 28 additions and 0 deletions

View File

@ -18,6 +18,7 @@
freqtop = pkgs.callPackage ./pkgs/freqtop { };
map = pkgs.callPackage ./pkgs/map { };
q = pkgs.callPackage ./pkgs/q { };
raspi-oled = pkgs.callPackage ./pkgs/raspi-oled { };
ripgrep-all = pkgs.callPackage ./pkgs/ripgrep-all {
inherit (pkgs.darwin.apple_sdk.frameworks) Security;
};

View File

@ -0,0 +1,27 @@
{ lib, fetchFromGitHub, rustPlatform, pkg-config, sqlite }:
rustPlatform.buildRustPackage rec {
pname = "raspi-oled";
version = "unstable-infdev-2";
src = fetchFromGitHub {
owner = "FliegendeWurst";
repo = "raspi-oled";
rev = "1a5272b7ba987df5b84eef1f92764d335762748e";
sha256 = "sha256-VPEKGNckXIDSzA2rwtUGYNyTSEzcseDOwVnG9xEb0nw=";
};
cargoSha256 = "sha256-JUR96YDgZz7GUMWZr4bG+iHvMVSxkaUMvVf7hLpI5KI=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ sqlite ];
RUSTC_BOOTSTRAP = "1";
meta = with lib; {
description = "OLED display of clock/calendar/temperature";
homepage = "https://github.com/FliegendeWurst/raspi-oled";
license = licenses.mit;
maintainers = with maintainers; [ fliegendewurst ];
};
}