alpha
Login
or
Join now
hermes.pds.lassul.us
/
superconfig
forked from
lass.pds.lassul.us/superconfig
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
pkgs.happy-coder: init at 0.11.2
author
lassulus
date
10 months ago
(Dec 7, 2025, 2:35 PM CET)
commit
7078ee76
7078ee7686d68d9579fde14aec81377454bb9296
parent
865d91f2
865d91f2e12465c795199ea8e72a4fe983be0ecb
+52
1 changed file
Expand all
Collapse all
Unified
Split
5pkgs
happy-coder
package.nix
+52
5pkgs/happy-coder/package.nix
View file
Reviewed
···
1
1
+
{
2
2
+
lib,
3
3
+
mkYarnPackage,
4
4
+
fetchFromGitHub,
5
5
+
fetchYarnDeps,
6
6
+
makeWrapper,
7
7
+
nodejs,
8
8
+
}:
9
9
+
10
10
+
mkYarnPackage rec {
11
11
+
pname = "happy-coder";
12
12
+
version = "0.11.2";
13
13
+
14
14
+
src = fetchFromGitHub {
15
15
+
owner = "slopus";
16
16
+
repo = "happy-cli";
17
17
+
rev = "v${version}";
18
18
+
hash = "sha256-WKzbpxHqE3Dxqy/PDj51tM9+Wl2Pallfrc5UU2MxNn8=";
19
19
+
};
20
20
+
21
21
+
offlineCache = fetchYarnDeps {
22
22
+
yarnLock = "${src}/yarn.lock";
23
23
+
hash = "sha256-3/qcbCJ+Iwc+9zPCHKsCv05QZHPUp0it+QR3z7m+ssw=";
24
24
+
};
25
25
+
26
26
+
packageJSON = "${src}/package.json";
27
27
+
28
28
+
nativeBuildInputs = [ makeWrapper ];
29
29
+
30
30
+
buildPhase = ''
31
31
+
runHook preBuild
32
32
+
yarn --offline build
33
33
+
runHook postBuild
34
34
+
'';
35
35
+
36
36
+
# Wrap binaries to include node in PATH (needed for daemon subprocess spawning)
37
37
+
postInstall = ''
38
38
+
for bin in $out/bin/*; do
39
39
+
wrapProgram "$bin" --prefix PATH : ${lib.makeBinPath [ nodejs ]}
40
40
+
done
41
41
+
'';
42
42
+
43
43
+
distPhase = "true";
44
44
+
45
45
+
meta = {
46
46
+
description = "Mobile and Web client for Claude Code and Codex";
47
47
+
homepage = "https://github.com/slopus/happy-cli";
48
48
+
license = lib.licenses.mit;
49
49
+
maintainers = [ ];
50
50
+
mainProgram = "happy";
51
51
+
};
52
52
+
}