djot-js: 0.2.3 -> 0.3.1
Diff: https://github.com/jgm/djot.js/compare/@djot/djot@0.2.3...@djot/djot@0.3.1 Changelog: https://github.com/jgm/djot.js/blob/@djot/djot@0.3.1/CHANGELOG.md
This commit is contained in:
parent
c91bf3f5ca
commit
ca5b14fa8d
1 changed files with 3 additions and 14 deletions
|
@ -1,32 +1,21 @@
|
|||
{ lib
|
||||
, buildNpmPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, installShellFiles
|
||||
}:
|
||||
|
||||
buildNpmPackage rec {
|
||||
pname = "djot-js";
|
||||
version = "0.2.3";
|
||||
version = "0.3.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jgm";
|
||||
repo = "djot.js";
|
||||
rev = "@djot/djot@${version}";
|
||||
hash = "sha256-W/ZQXJXvFEIgj5PeI+jvw4nIkNP4qa1NyQCOv0unIuA=";
|
||||
hash = "sha256-dQfjI+8cKqn4qLT9eUKfCP++BFCWQ/MmrlQNVRNCFuU=";
|
||||
};
|
||||
|
||||
npmDepsHash = "sha256-x/Oc39S6XwZ/ZsS/lmMU9OkHLlKuUxETYmD8pdHAIg8=";
|
||||
|
||||
patches = [
|
||||
# djot.js v0.2.3 doesn't include package-lock.json in the repository
|
||||
# remove at next release
|
||||
(fetchpatch {
|
||||
name = "add-package-lock-json-and-yarn-lock-to-repository.patch";
|
||||
url = "https://github.com/jgm/djot.js/commit/15ed52755b2968932d4a9a80805b9ea6183fe539.patch";
|
||||
hash = "sha256-saNmU7z4IOOG3ptXMFDSNci5uu0d2GiVZ/FAlaNccTc=";
|
||||
})
|
||||
];
|
||||
npmDepsHash = "sha256-FjrjwhVv2WRjbEga9w37lwz7KYgTTHGsoqt496Uq/0c=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
|
|
Loading…
Reference in a new issue