kobo-color-inputdev/flake.nix

27 lines
801 B
Nix
Raw Permalink Normal View History

2024-11-01 22:55:23 +01:00
{
description = "Small binary rewriting events from kobo libra colour to be used as a desktop libinput device";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
};
outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
in
{
packages.${system} =
{
kobo-color-inputdev = pkgs.callPackage ./default.nix { };
2024-11-10 14:51:45 +01:00
# Cross compile to run on the kobo itself
cross.armv7l-unknown-linux-musleabihf.kobo-color-inputdev =
pkgs.pkgsCross.armv7l-hf-multiplatform.pkgsStatic.callPackage ./default.nix { };
2024-11-01 22:55:23 +01:00
default = self.packages.${system}.kobo-color-inputdev;
};
devShells.${system}.default = import ./shell.nix { inherit pkgs; };
};
}