mirror of
https://github.com/FliegendeWurst/nur-packages.git
synced 2024-11-22 08:54:59 +00:00
raspi-oled: init at unstable-infdev-2
This commit is contained in:
parent
70401b53e4
commit
b8b81a481c
@ -18,6 +18,7 @@
|
|||||||
freqtop = pkgs.callPackage ./pkgs/freqtop { };
|
freqtop = pkgs.callPackage ./pkgs/freqtop { };
|
||||||
map = pkgs.callPackage ./pkgs/map { };
|
map = pkgs.callPackage ./pkgs/map { };
|
||||||
q = pkgs.callPackage ./pkgs/q { };
|
q = pkgs.callPackage ./pkgs/q { };
|
||||||
|
raspi-oled = pkgs.callPackage ./pkgs/raspi-oled { };
|
||||||
ripgrep-all = pkgs.callPackage ./pkgs/ripgrep-all {
|
ripgrep-all = pkgs.callPackage ./pkgs/ripgrep-all {
|
||||||
inherit (pkgs.darwin.apple_sdk.frameworks) Security;
|
inherit (pkgs.darwin.apple_sdk.frameworks) Security;
|
||||||
};
|
};
|
||||||
|
27
pkgs/raspi-oled/default.nix
Normal file
27
pkgs/raspi-oled/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user