nixpkgs/pkgs/applications/misc/river-luatile/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
749 B
Nix
Raw Normal View History

2023-03-22 09:47:00 +00:00
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, luajit
}:
rustPlatform.buildRustPackage rec {
pname = "river-luatile";
2023-03-30 09:08:56 +00:00
version = "0.1.2";
2023-03-22 09:47:00 +00:00
src = fetchFromGitHub {
owner = "MaxVerevkin";
repo = "river-luatile";
rev = "v${version}";
2023-03-30 09:08:56 +00:00
hash = "sha256-flh1zUBranb7w1fQuinHbVRGlVxfl2aKxSwShHFG6tI=";
2023-03-22 09:47:00 +00:00
};
2023-03-30 09:08:56 +00:00
cargoHash = "sha256-9YQxa6folwCJNoEa75InRbK1X7cD4F5QGzeGlfsr/5s=";
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 ];
};
}