imewlconverter: init at 3.1.1 (#354935)

This commit is contained in:
Aleksana 2024-11-23 19:55:49 +08:00 committed by GitHub
commit 5bbdfc101a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 52 additions and 0 deletions

21
pkgs/by-name/im/imewlconverter/deps.nix generated Normal file
View File

@ -0,0 +1,21 @@
# This file was automatically generated by passthru.fetch-deps.
# Please dont edit it manually, your changes might get overwritten!
{ fetchNuGet }:
[
(fetchNuGet {
pname = "CSharpier";
version = "0.27.3";
hash = "sha256-9g5WA+ii6ovKVGwpTaNIhs/Oti9YLwd//UhbNbBkn8E=";
})
(fetchNuGet {
pname = "SharpZipLib";
version = "1.4.2";
hash = "sha256-/giVqikworG2XKqfN9uLyjUSXr35zBuZ2FX2r8X/WUY=";
})
(fetchNuGet {
pname = "UTF.Unknown";
version = "2.5.1";
hash = "sha256-9D6TqKSPsjzSly0mtUGZJbrNAJ7ftz9LJjWNwnnQMz4=";
})
]

View File

@ -0,0 +1,31 @@
{
fetchFromGitHub,
lib,
buildDotnetModule,
dotnetCorePackages,
}:
buildDotnetModule {
pname = "imewlconverter";
version = "3.1.1";
src = fetchFromGitHub {
owner = "studyzy";
repo = "imewlconverter";
rev = "v3.1.1";
hash = "sha256-lrYqQWh+PZreJ6oJg+OCipiqUyfG/2moP/n+jR+Kcj8=";
};
projectFile = "src/ImeWlConverterCmd/ImeWlConverterCmd.csproj";
nugetDeps = ./deps.nix;
dotnet-sdk = dotnetCorePackages.sdk_8_0;
dotnet-runtime = dotnetCorePackages.aspnetcore_8_0;
meta = {
mainProgram = "ImeWlConverterCmd";
description = "FOSS program for converting IME dictionaries";
homepage = "https://github.com/studyzy/imewlconverter";
maintainers = with lib.maintainers; [ xddxdd ];
license = lib.licenses.gpl3Only;
};
}