cudatext: 1.168.0 → 1.169.2
This commit is contained in:
parent
c21c0551e2
commit
9fdbea27fd
|
@ -31,20 +31,20 @@ let
|
||||||
(name: spec:
|
(name: spec:
|
||||||
fetchFromGitHub {
|
fetchFromGitHub {
|
||||||
repo = name;
|
repo = name;
|
||||||
inherit (spec) owner rev sha256;
|
inherit (spec) owner rev hash;
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
(lib.importJSON ./deps.json);
|
(lib.importJSON ./deps.json);
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "cudatext";
|
pname = "cudatext";
|
||||||
version = "1.168.0";
|
version = "1.169.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Alexey-T";
|
owner = "Alexey-T";
|
||||||
repo = "CudaText";
|
repo = "CudaText";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-/06eZ79Zeq6jtcfq+lOcumBgP59bqCX/Km7k21FroSc=";
|
hash = "sha256-EQAoKft/L4sbdY8hOvyu+Cy+3I8Lt4g1KTxTlSYALac=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|
|
@ -2,56 +2,56 @@
|
||||||
"EncConv": {
|
"EncConv": {
|
||||||
"owner": "Alexey-T",
|
"owner": "Alexey-T",
|
||||||
"rev": "2022.06.19",
|
"rev": "2022.06.19",
|
||||||
"sha256": "sha256-M00rHH3dG6Vx6MEALxRNlnLLfX/rRI+rdTS7riOhgeg="
|
"hash": "sha256-M00rHH3dG6Vx6MEALxRNlnLLfX/rRI+rdTS7riOhgeg="
|
||||||
},
|
},
|
||||||
"ATBinHex-Lazarus": {
|
"ATBinHex-Lazarus": {
|
||||||
"owner": "Alexey-T",
|
"owner": "Alexey-T",
|
||||||
"rev": "2022.06.14",
|
"rev": "2022.06.14",
|
||||||
"sha256": "sha256-3QhARraYURW5uCf2f4MZfUbxdbsg9h7BlXUxKcz4jwA="
|
"hash": "sha256-3QhARraYURW5uCf2f4MZfUbxdbsg9h7BlXUxKcz4jwA="
|
||||||
},
|
},
|
||||||
"ATFlatControls": {
|
"ATFlatControls": {
|
||||||
"owner": "Alexey-T",
|
"owner": "Alexey-T",
|
||||||
"rev": "2022.07.17",
|
"rev": "2022.08.28",
|
||||||
"sha256": "sha256-KMGmimbtUQHa8i5wt4KLA/HotLbb/ISzdznmdqPXkNU="
|
"hash": "sha256-jkVHwPQGPtLeSRy502thPIrDWzkkwvlnyGcTzjgFgIc="
|
||||||
},
|
},
|
||||||
"ATSynEdit": {
|
"ATSynEdit": {
|
||||||
"owner": "Alexey-T",
|
"owner": "Alexey-T",
|
||||||
"rev": "2022.07.27",
|
"rev": "2022.08.28",
|
||||||
"sha256": "sha256-SGozuk0pvp0+PwAFbGG+QMUhQ2A6mXKr31u10WIveh0="
|
"hash": "sha256-U/UD3vPnIdQUe/1g/mKgs5yGirsIB/uHTjD0MOouAyI="
|
||||||
},
|
},
|
||||||
"ATSynEdit_Cmp": {
|
"ATSynEdit_Cmp": {
|
||||||
"owner": "Alexey-T",
|
"owner": "Alexey-T",
|
||||||
"rev": "2022.05.04",
|
"rev": "2022.08.28",
|
||||||
"sha256": "sha256-6O4RijSejPogokLSBuC6pKrOpihMi/ykS06YyV64Sak="
|
"hash": "sha256-/MWC4BoU/4kflvbly0phh+cfIR8rNwgWFtrXnmxk0Ks="
|
||||||
},
|
},
|
||||||
"EControl": {
|
"EControl": {
|
||||||
"owner": "Alexey-T",
|
"owner": "Alexey-T",
|
||||||
"rev": "2022.07.20",
|
"rev": "2022.08.22",
|
||||||
"sha256": "sha256-pCIt21m34BuDbWLn+CQwqsMQHVWHtctME63Bjx1B9hE="
|
"hash": "sha256-o87V32HhFpCeSxhgkfKiL69oCcmpiReVmiNBPyv1kc4="
|
||||||
},
|
},
|
||||||
"ATSynEdit_Ex": {
|
"ATSynEdit_Ex": {
|
||||||
"owner": "Alexey-T",
|
"owner": "Alexey-T",
|
||||||
"rev": "2022.07.20",
|
"rev": "2022.07.20",
|
||||||
"sha256": "sha256-f/BdOMcx7NTpKgaFTz4MbK3O0GcUepyMPyRdhnZImjU="
|
"hash": "sha256-f/BdOMcx7NTpKgaFTz4MbK3O0GcUepyMPyRdhnZImjU="
|
||||||
},
|
},
|
||||||
"Python-for-Lazarus": {
|
"Python-for-Lazarus": {
|
||||||
"owner": "Alexey-T",
|
"owner": "Alexey-T",
|
||||||
"rev": "2021.10.27",
|
"rev": "2021.10.27",
|
||||||
"sha256": "sha256-ikXdDUMJ9MxRejEVAhwUsXYVh0URVFHzEpnXuN5NGpA="
|
"hash": "sha256-ikXdDUMJ9MxRejEVAhwUsXYVh0URVFHzEpnXuN5NGpA="
|
||||||
},
|
},
|
||||||
"Emmet-Pascal": {
|
"Emmet-Pascal": {
|
||||||
"owner": "Alexey-T",
|
"owner": "Alexey-T",
|
||||||
"rev": "2022.01.17",
|
"rev": "2022.01.17",
|
||||||
"sha256": "sha256-5yqxRW7xFJ4MwHjKnxYL8/HrCDLn30a1gyQRjGMx/qw="
|
"hash": "sha256-5yqxRW7xFJ4MwHjKnxYL8/HrCDLn30a1gyQRjGMx/qw="
|
||||||
},
|
},
|
||||||
"CudaText-lexers": {
|
"CudaText-lexers": {
|
||||||
"owner": "Alexey-T",
|
"owner": "Alexey-T",
|
||||||
"rev": "2021.07.09",
|
"rev": "2021.07.09",
|
||||||
"sha256": "sha256-OyC85mTMi9m5kbtx8TAK2V4voL1i+J+TFoLVwxlHiD4="
|
"hash": "sha256-OyC85mTMi9m5kbtx8TAK2V4voL1i+J+TFoLVwxlHiD4="
|
||||||
},
|
},
|
||||||
"bgrabitmap": {
|
"bgrabitmap": {
|
||||||
"owner": "bgrabitmap",
|
"owner": "bgrabitmap",
|
||||||
"rev": "v11.5",
|
"rev": "v11.5.2",
|
||||||
"sha256": "sha256-Pevh+yhtN3oSSvbQfnO7SM6UHBVe0sSpbK8ss98XqcU="
|
"hash": "sha256-aGNKkLDbGTeFgFEhuX7R2BXhnllsanJmk4k+1muiSD8="
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ hash=$(nix-prefetch-url --quiet --unpack --type sha256 $url)
|
||||||
sriHash=$(nix hash to-sri --type sha256 $hash)
|
sriHash=$(nix hash to-sri --type sha256 $hash)
|
||||||
|
|
||||||
sed -i "s#version = \".*\"#version = \"$version\"#" default.nix
|
sed -i "s#version = \".*\"#version = \"$version\"#" default.nix
|
||||||
sed -i "s#sha256 = \".*\"#sha256 = \"$sriHash\"#" default.nix
|
sed -i "s#hash = \".*\"#hash = \"$sriHash\"#" default.nix
|
||||||
|
|
||||||
while IFS=$'\t' read repo owner rev; do
|
while IFS=$'\t' read repo owner rev; do
|
||||||
latest=$(curl -s https://api.github.com/repos/${owner}/${repo}/releases/latest | jq -r '.tag_name')
|
latest=$(curl -s https://api.github.com/repos/${owner}/${repo}/releases/latest | jq -r '.tag_name')
|
||||||
|
@ -28,6 +28,6 @@ while IFS=$'\t' read repo owner rev; do
|
||||||
url="https://github.com/${owner}/${repo}/archive/refs/tags/${latest}.tar.gz"
|
url="https://github.com/${owner}/${repo}/archive/refs/tags/${latest}.tar.gz"
|
||||||
hash=$(nix-prefetch-url --quiet --unpack --type sha256 $url)
|
hash=$(nix-prefetch-url --quiet --unpack --type sha256 $url)
|
||||||
sriHash=$(nix hash to-sri --type sha256 $hash)
|
sriHash=$(nix hash to-sri --type sha256 $hash)
|
||||||
jq ".\"${repo}\".rev = \"${latest}\" | .\"${repo}\".sha256 = \"${sriHash}\"" deps.json | sponge deps.json
|
jq ".\"${repo}\".rev = \"${latest}\" | .\"${repo}\".hash = \"${sriHash}\"" deps.json | sponge deps.json
|
||||||
fi
|
fi
|
||||||
done <<< $(jq -r 'to_entries[]|[.key,.value.owner,.value.rev]|@tsv' deps.json)
|
done <<< $(jq -r 'to_entries[]|[.key,.value.owner,.value.rev]|@tsv' deps.json)
|
||||||
|
|
Loading…
Reference in a new issue