Merge pull request #285015 from NyCodeGHG/update/db-rest

db-rest: 6.0.3 -> 6.0.4
This commit is contained in:
Nick Cao 2024-01-30 15:40:08 -05:00 committed by GitHub
commit d8ce85a045
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,7 +7,7 @@
}:
buildNpmPackage rec {
pname = "db-rest";
version = "6.0.3";
version = "6.0.4";
nodejs = nodejs_18;
@ -15,19 +15,10 @@ buildNpmPackage rec {
owner = "derhuerst";
repo = pname;
rev = version;
hash = "sha256-kHT8/8ivqcP6YRBvkZ4jpJ/xBMM1PddLgV1Z/MFmSTM=";
hash = "sha256-guiAtPOvU/yqspq+G+mTSIFqBp6Kl0JZBPfjPC+ZM1g=";
};
patches = [
# add files and bin property to package.json
# keep until https://github.com/derhuerst/db-rest/pull/37 is merged and released
(fetchpatch {
url = "https://github.com/derhuerst/db-rest/commit/7d2c8bebdd5e8152b181748e3c36683ecf9e71c9.patch";
hash = "sha256-KyNcvSJLQrX8BO/4814wefeeC+s0pvM2ng44q6diU24=";
})
];
npmDepsHash = "sha256-d/Qs194TU4ooy6GsBsZhrf5H1iPCUnlieBgtuqfAtkQ=";
npmDepsHash = "sha256-lJT344HpHJFN3QO6kVAj1NhRFTwS+EVkR0ePbtIguFo=";
preConfigure = ''
patchShebangs ./build/index.js