Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / applications / misc / river-luatile / default.nix
blob6b5c27bab5ae7d6563978a9ca4fbca5f0764b2fc
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   };