-
Notifications
You must be signed in to change notification settings - Fork 102
Expand file tree
/
Copy pathpackage.nix
More file actions
42 lines (37 loc) · 1.19 KB
/
package.nix
File metadata and controls
42 lines (37 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
lib,
buildNpmPackage,
fetchFromGitHub,
flake,
fetchNpmDepsWithPackuments,
npmConfigHook,
}:
buildNpmPackage (finalAttrs: {
inherit npmConfigHook;
pname = "openskills";
version = "1.5.0";
src = fetchFromGitHub {
owner = "numman-ali";
repo = "openskills";
rev = "v${finalAttrs.version}";
hash = "sha256-rOrLi43J+w6XBRZYYwlDPl8RqU7Zhr45B9UyP6Xarj0=";
};
npmDeps = fetchNpmDepsWithPackuments {
inherit (finalAttrs) src;
name = "${finalAttrs.pname}-${finalAttrs.version}-npm-deps";
hash = "sha256-ZYiY66PKF7hAnFkw3RQ5xBw7L9WZx0giUhgE8ySE0Xw=";
fetcherVersion = 2;
};
makeCacheWritable = true;
passthru.category = "Utilities";
meta = {
description = "Universal skills loader for AI coding agents - install and load Anthropic SKILL.md format skills in any agent";
homepage = "https://github.com/numman-ali/openskills";
changelog = "https://github.com/numman-ali/openskills/releases/tag/v${finalAttrs.version}";
license = lib.licenses.asl20;
sourceProvenance = with lib.sourceTypes; [ fromSource ];
maintainers = with flake.lib.maintainers; [ ypares ];
mainProgram = "openskills";
platforms = lib.platforms.all;
};
})