Skip to content

Instantly share code, notes, and snippets.

@mmahut
Created June 11, 2020 13:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mmahut/d4268f1ee80dd4dff51eec5b0253eb17 to your computer and use it in GitHub Desktop.
Save mmahut/d4268f1ee80dd4dff51eec5b0253eb17 to your computer and use it in GitHub Desktop.
### trying to package the following https://github.com/zkSNACKs/WalletWasabi/tree/master/WalletWasabi.Backend
### building by running:
git clone https://github.com/zkSNACKs/WalletWasabi.git
cd WalletWasabi
dotnet restore
dotnet build
dotnet publish WalletWasabi.Backend --configuration Release --self-contained false
dotnet WalletWasabi.Backend/bin/Release/netcoreapp3.1/publish/WalletWasabi.Backend.dll
## trying to build
mmahut@highhopes ~/repo/nixpkgs (wasabi) $ git diff
diff --git a/pkgs/top-level/dotnet-packages.nix b/pkgs/top-level/dotnet-packages.nix
index 3b58e1937b6..63240b8fb80 100644
--- a/pkgs/top-level/dotnet-packages.nix
+++ b/pkgs/top-level/dotnet-packages.nix
@@ -956,4 +956,20 @@ let self = dotnetPackages // overrides; dotnetPackages = with self; {
};
};
+ WasabiWallet = buildDotnetPackage rec {
+ baseName = "WasabiWallet";
+ version = "1.1.11.1";
+
+ src = fetchFromGitHub {
+ owner = "zkSNACKs";
+ repo = "WalletWasabi";
+ rev = "v${version}";
+ sha256 = "0kxww8ywhld00b0qsv5jh5s19jqpahnb9mvshmjnp3cb840j12a7";
+ };
+
+ sourceRoot = "WalletWasabi.Backend";
+
+ };
+
+
}; in self
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment