depot/third_party/nixpkgs/pkgs/applications/misc/river-luatile/default.nix
Default email eaf6957cd3 Project import generated by Copybara.
GitOrigin-RevId: 4bb072f0a8b267613c127684e099a70e1f6ff106
2023-03-27 12:17:25 -07:00

36 lines
749 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, luajit
}:
rustPlatform.buildRustPackage rec {
pname = "river-luatile";
version = "0.1.1";
src = fetchFromGitHub {
owner = "MaxVerevkin";
repo = "river-luatile";
rev = "v${version}";
hash = "sha256-eZgoFbat7X/jh5udlNyIuTheBUCHpaVRbsojYLATO18=";
};
cargoHash = "sha256-Vqyt5bL1lVhy/Wxd+zF7Wugvb7dW1N9Kq2TTFSaodnE=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
luajit
];
meta = with lib; {
description = "Write your own river layout generator in lua";
homepage = "https://github.com/MaxVerevkin/river-luatile";
license = licenses.gpl3Only;
platforms = platforms.linux;
maintainers = with maintainers; [ pinpox ];
};
}