2023-03-22 09:47:00 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pkg-config
|
|
|
|
, luajit
|
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "river-luatile";
|
2023-06-25 01:58:15 +00:00
|
|
|
version = "0.1.3";
|
2023-03-22 09:47:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "MaxVerevkin";
|
|
|
|
repo = "river-luatile";
|
|
|
|
rev = "v${version}";
|
2023-06-25 01:58:15 +00:00
|
|
|
hash = "sha256-ZBytoj4L72TjxJ7vFivjcSO69AcdwKNbXh4rA/bn5iU=";
|
2023-03-22 09:47:00 +00:00
|
|
|
};
|
|
|
|
|
2023-06-25 01:58:15 +00:00
|
|
|
cargoHash = "sha256-GcMSglLKuUD3nVj0/8Nbrk4qs5gl5PlCj7r1MYq/vQg=";
|
2023-03-22 09:47:00 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|