blob: 8a18f29199c648632c8f5d9f9ce12c9e7d694083 (
plain)
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
43
|
{
lib,
stdenvNoCC,
fetchFromGitHub,
fetchYarnDeps,
yarnConfigHook,
yarnBuildHook,
yarnInstallHook,
nodejs,
nix-update-script,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "code-theme-converter";
version = "1.2.1";
src = fetchFromGitHub {
owner = "tobiastimm";
repo = "code-theme-converter";
tag = "v${finalAttrs.version}";
hash = "sha256-b6b0s6FXyHwoAJnPTaLu9fMQJVpBSqfGBk/KqDbaK9U=";
};
yarnOfflineCache = fetchYarnDeps {
inherit (finalAttrs) src;
hash = "sha256-M8zLr/BPQfS50ZsTwN/YdJAlYUtS9edE/jh+l1wBqR8=";
};
nativeBuildInputs = [
yarnConfigHook
yarnBuildHook
yarnInstallHook
nodejs
];
passthru.updateScript = nix-update-script { };
meta = {
description = "Convert any Visual Studio Code Theme to Sublime Text 3 or IntelliJ IDEA";
homepage = "https://github.com/tobiastimm/code-theme-converter";
license = lib.licenses.mit;
maintainers = [ ];
};
})
|