mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-16 22:38:21 +00:00
it-tools: init at 2024.10.22-7ca5933 (#350285)
This commit is contained in:
commit
b0328f10e5
@ -870,6 +870,12 @@
|
||||
githubId = 56970006;
|
||||
keys = [ { fingerprint = "50E2 669C AB38 2F4A 5F72 1667 0D6B FC01 D45E DADD"; } ];
|
||||
};
|
||||
akotro = {
|
||||
name = "Antonis Kotronakis";
|
||||
email = "mail@akotro.dev";
|
||||
github = "akotro";
|
||||
githubId = 20772540;
|
||||
};
|
||||
akru = {
|
||||
email = "mail@akru.me";
|
||||
github = "akru";
|
||||
|
52
pkgs/by-name/it/it-tools/package.nix
Normal file
52
pkgs/by-name/it/it-tools/package.nix
Normal file
@ -0,0 +1,52 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
nodejs,
|
||||
pnpm_8,
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "it-tools";
|
||||
version = "2024.10.22-7ca5933";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "CorentinTh";
|
||||
repo = "it-tools";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-SQAZv+9tINRH10lewcuv8G2qwfulLOP8sGjX47LxeUk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
nodejs
|
||||
pnpm_8.configHook
|
||||
];
|
||||
|
||||
pnpmDeps = pnpm_8.fetchDeps {
|
||||
inherit pname version src;
|
||||
hash = "sha256-m1eXBE5rakcq8NGnPC9clAAvNJQrN5RuSQ94zfgGZxw=";
|
||||
};
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
||||
pnpm build
|
||||
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/lib
|
||||
cp -R ./dist/* $out/lib/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Self-hostable website containing handy tools for developers, with great UX";
|
||||
homepage = "https://it-tools.tech/";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ akotro ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user