2024-09-15 22:49:23 +01:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenvNoCC,
|
|
|
|
fetchFromGitHub,
|
|
|
|
fetchYarnDeps,
|
|
|
|
yarnConfigHook,
|
|
|
|
yarnInstallHook,
|
|
|
|
nodejs,
|
2023-10-14 05:29:10 +01:00
|
|
|
}:
|
|
|
|
|
2024-09-15 22:49:23 +01:00
|
|
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
2023-10-14 05:29:10 +01:00
|
|
|
pname = "ember-cli";
|
|
|
|
version = "5.3.0";
|
2024-09-15 22:49:23 +01:00
|
|
|
|
2023-10-14 05:29:10 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ember-cli";
|
|
|
|
repo = "ember-cli";
|
2024-09-15 22:49:23 +01:00
|
|
|
rev = "refs/tags/v${finalAttrs.version}";
|
2023-10-14 05:29:10 +01:00
|
|
|
hash = "sha256-xkMsPE+iweIV14m4kE4ytEp4uHMJW6gr+n9oJblr4VQ=";
|
|
|
|
};
|
|
|
|
|
|
|
|
offlineCache = fetchYarnDeps {
|
2024-09-15 22:49:23 +01:00
|
|
|
yarnLock = finalAttrs.src + "/yarn.lock";
|
2023-10-14 05:29:10 +01:00
|
|
|
hash = "sha256-QgT2JFvMupJo+pJc13n2lmHMZkROJRJWoozCho3E6+c=";
|
|
|
|
};
|
|
|
|
|
2024-09-15 22:49:23 +01:00
|
|
|
strictDeps = true;
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
yarnConfigHook
|
|
|
|
yarnInstallHook
|
|
|
|
nodejs
|
|
|
|
];
|
2023-10-14 05:29:10 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/ember-cli/ember-cli";
|
|
|
|
description = "The Ember.js command line utility";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ jfvillablanca ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
mainProgram = "ember";
|
|
|
|
};
|
2024-09-15 22:49:23 +01:00
|
|
|
})
|