Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 38 lines 791 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5 pkg-config, 6 luajit, 7}: 8 9rustPlatform.buildRustPackage rec { 10 pname = "river-luatile"; 11 version = "0.1.4"; 12 13 src = fetchFromGitHub { 14 owner = "MaxVerevkin"; 15 repo = "river-luatile"; 16 rev = "v${version}"; 17 hash = "sha256-8/qHoNFoGH1nSdTwBkaQk+yyvJtrXADTA39gUAMeSv8="; 18 }; 19 20 cargoHash = "sha256-KQO6JN+ed+gxTTBGoJYhVUrpHJkuXf1dHrUzcF5FNaY="; 21 22 nativeBuildInputs = [ 23 pkg-config 24 ]; 25 26 buildInputs = [ 27 luajit 28 ]; 29 30 meta = with lib; { 31 description = "Write your own river layout generator in lua"; 32 homepage = "https://github.com/MaxVerevkin/river-luatile"; 33 license = licenses.gpl3Only; 34 platforms = platforms.linux; 35 maintainers = with maintainers; [ pinpox ]; 36 mainProgram = "river-luatile"; 37 }; 38}