linuxPackages_latest.broadcom_sta: add patch to compile on Kernel 6.12 (#359484)
[NixPkgs.git] / pkgs / by-name / ri / river-luatile / package.nix
blob8999ea2445e5756c78a7dc794c6ee4e64e7fba65
1 { lib
2 , rustPlatform
3 , fetchFromGitHub
4 , pkg-config
5 , luajit
6 }:
8 rustPlatform.buildRustPackage rec {
9   pname = "river-luatile";
10   version = "0.1.3";
12   src = fetchFromGitHub {
13     owner = "MaxVerevkin";
14     repo = "river-luatile";
15     rev = "v${version}";
16     hash = "sha256-ZBytoj4L72TjxJ7vFivjcSO69AcdwKNbXh4rA/bn5iU=";
17   };
19   cargoHash = "sha256-GcMSglLKuUD3nVj0/8Nbrk4qs5gl5PlCj7r1MYq/vQg=";
21   nativeBuildInputs = [
22     pkg-config
23   ];
25   buildInputs = [
26     luajit
27   ];
29   meta = with lib; {
30     description = "Write your own river layout generator in lua";
31     homepage = "https://github.com/MaxVerevkin/river-luatile";
32     license = licenses.gpl3Only;
33     platforms = platforms.linux;
34     maintainers = with maintainers; [ pinpox ];
35     mainProgram = "river-luatile";
36   };