thor: init at 1.0.4
This commit is contained in:
32
pkgs/by-name/th/thor/package.nix
Normal file
32
pkgs/by-name/th/thor/package.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildDotnetModule
|
||||
, dotnetCorePackages
|
||||
}:
|
||||
|
||||
buildDotnetModule rec {
|
||||
pname = "thor";
|
||||
version = "1.0.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Samsung-Loki";
|
||||
repo = "Thor";
|
||||
rev = version;
|
||||
hash = "sha256-tYzPpgbM9rCDdLW0ERZWmmxzMYpe1BNyFwmpaLQXRGQ=";
|
||||
};
|
||||
|
||||
dotnet-sdk = dotnetCorePackages.sdk_7_0;
|
||||
dotnet-runtime = dotnetCorePackages.runtime_7_0;
|
||||
nugetDeps = ./nugetDeps.nix;
|
||||
projectFile = "TheAirBlow.Thor.Shell/TheAirBlow.Thor.Shell.csproj";
|
||||
|
||||
postFixup = ''
|
||||
mv $out/bin/TheAirBlow.Thor.Shell $out/bin/thor
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/Samsung-Loki/Thor";
|
||||
description = "An alternative to Heimdall";
|
||||
license = lib.licenses.mpl20;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user