Skip to content

Commit

Permalink
rails-new: init at 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sadbeast committed Jan 30, 2025
1 parent a8100d5 commit 0019f04
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions pkgs/by-name/ra/rails-new/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
lib,
fetchFromGitHub,
rustPlatform,
unstableGitUpdater
}:
rustPlatform.buildRustPackage rec {
pname = "rails-new";
version = "0.5.0";

src = fetchFromGitHub {
owner = "rails";
repo = "rails-new";
rev = "v${version}";
hash = "sha256-7hEdLu9Koi2K2EFIl530yA+BGZmATFCcBMe3htYb0rs=";
};

cargoHash = "sha256-XwEtC5sSw+x53Nu3mxC8puU3Y53PSIxU6H4p5vkAFKU=";

passthru.updateScript = unstableGitUpdater { };

meta = {
description = "Generate new Rails applications without having to install Ruby";
homepage = "https://github.com/rails/rails-new";
license = lib.licenses.mit;
mainProgram = "rails-new";
maintainers = with lib.maintainers; [ coat ];
};
}

0 comments on commit 0019f04

Please sign in to comment.