raspi-oled: infdev-2 -> infdev-3

This commit is contained in:
FliegendeWurst 2023-09-24 12:43:48 +02:00
parent 35c961fd55
commit 42b33a813f
3 changed files with 1427 additions and 8 deletions

View File

@ -20,10 +20,8 @@
q = pkgs.callPackage ./pkgs/q { };
# TODO: fix dependency specification
#raspi-oled = pkgs.callPackage ./pkgs/raspi-oled { };
#raspi-oled-cross = pkgs.pkgsCross.muslpi.callPackage ./pkgs/raspi-oled { };
raspi-oled-cross = pkgs.pkgsCross.muslpi.callPackage ./pkgs/raspi-oled { };
ripgrep-all = pkgs.callPackage ./pkgs/ripgrep-all {
inherit (pkgs.darwin.apple_sdk.frameworks) Security;
};
# some-qt5-package = pkgs.libsForQt5.callPackage ./pkgs/some-qt5-package { };
# ...
}

1415
pkgs/raspi-oled/Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,17 +1,23 @@
{ lib, fetchFromGitHub, rustPlatform, pkg-config, sqlite }:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage {
pname = "raspi-oled";
version = "unstable-infdev-2";
version = "unstable-infdev-3";
src = fetchFromGitHub {
owner = "FliegendeWurst";
repo = "raspi-oled";
rev = "1a5272b7ba987df5b84eef1f92764d335762748e";
sha256 = "sha256-VPEKGNckXIDSzA2rwtUGYNyTSEzcseDOwVnG9xEb0nw=";
rev = "c17424a686fe2dc4f8928052c68deda57794a44d";
sha256 = "sha256-C9Q/2NCrhxGIgzAU5eBWD21+5l/YtTiwjbpvnRorrOY=";
};
cargoSha256 = "sha256-JUR96YDgZz7GUMWZr4bG+iHvMVSxkaUMvVf7hLpI5KI=";
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"ssd1351-0.3.0" = "sha256-K6QCU9qPEuU7Ur8W6fTdi4JWk8NsVz3mLfV0afpfdBA=";
# "gpio-am2302-rs-1.1.0" = "sha256-tyA/R80LtWIXoVEoxHhkmzy0IsMdMH1Oi3FTQ56XjyQ=";
};
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ sqlite ];