build(qmd): update Nix package for Gitea-hosted fork with PR #517
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
buildNpmPackage,
|
||||
fetchFromGitHub,
|
||||
fetchzip,
|
||||
nodejs_22,
|
||||
python3,
|
||||
sqlite,
|
||||
@@ -16,11 +16,9 @@ buildNpmPackage rec {
|
||||
pname = "qmd";
|
||||
inherit version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tobi";
|
||||
repo = "qmd";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-bqIVaNRTa8H5vrw3RwsD7QdtTa0xNvRuEVzlzE1hIBQ=";
|
||||
src = fetchzip {
|
||||
url = "https://git.johnogle.info/johno/qmd/archive/ec36abc23ab18147c627289330b25b29a6a18369.tar.gz";
|
||||
sha256 = "sha256-0rwo8Etu/VAca5Gkt79C4JsZ2F2L6P4txPjwlnRFPCo=";
|
||||
};
|
||||
|
||||
# Vendored package-lock.json generated from QMD's package.json.
|
||||
@@ -31,7 +29,7 @@ buildNpmPackage rec {
|
||||
'';
|
||||
|
||||
# Will be updated on first build attempt — nix will report the correct hash
|
||||
npmDepsHash = "sha256-iBFj0C0BYLPtjOQqp5O/lRjeKTMMNoqHLtjGeERECpk=";
|
||||
npmDepsHash = "sha256-3sis2NIuPDnwAOzWEQBcA+VUsMaxO8Nkuk6wCJ9foBA=";
|
||||
|
||||
nodejs = nodejs_22;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user