samfirm-js: init at 0.3.0-unstable-2023-12-27
Signed-off-by: David Wronek <david@mainlining.org>
This commit is contained in:
parent
a1a470f590
commit
e1d7968b15
34
pkgs/by-name/sa/samfirm-js/package.nix
Normal file
34
pkgs/by-name/sa/samfirm-js/package.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{
|
||||
lib,
|
||||
buildNpmPackage,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "samfirm-js";
|
||||
version = "0.3.0-unstable-2023-12-27";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "DavidArsene";
|
||||
repo = "samfirm.js";
|
||||
rev = "5e2537c2452c3033259a1e4399d9bb755e99f1da";
|
||||
hash = "sha256-81nWdIXJMXy5P37K9A3hAdLrYAEtqPJy7baM1Z22tzs=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-os75tFpyxzxGpt5Era+K+zgMJyfwD4u0AtTRLC/fPUQ=";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -Dm555 dist/index.js $out/bin/samfirm-js
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Program for downloading Samsung firmware";
|
||||
homepage = "https://github.com/DavidArsene/samfirm.js";
|
||||
license = lib.licenses.gpl3;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ ungeskriptet ];
|
||||
mainProgram = "samfirm-js";
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user