diff options
author | obadz <dav-github@odav.org> | 2015-06-14 01:42:09 -0400 |
---|---|---|
committer | obadz <dav-github@odav.org> | 2015-06-23 23:11:50 +0100 |
commit | 9c205124e4547da214df4f1b73937dce0cbcc350 (patch) | |
tree | 674a93b7b8e3bf1390599b8cff6c940850a106d1 /pkgs/top-level/dotnet-packages.nix | |
parent | 14dcf50cb171b729ed4e6d0a11f4a39cd966721a (diff) | |
download | nixlib-9c205124e4547da214df4f1b73937dce0cbcc350.tar nixlib-9c205124e4547da214df4f1b73937dce0cbcc350.tar.gz nixlib-9c205124e4547da214df4f1b73937dce0cbcc350.tar.bz2 nixlib-9c205124e4547da214df4f1b73937dce0cbcc350.tar.lz nixlib-9c205124e4547da214df4f1b73937dce0cbcc350.tar.xz nixlib-9c205124e4547da214df4f1b73937dce0cbcc350.tar.zst nixlib-9c205124e4547da214df4f1b73937dce0cbcc350.zip |
dotnet: package ExcelDna 0.32.0 + ExcelDna.Registration
Diffstat (limited to 'pkgs/top-level/dotnet-packages.nix')
-rw-r--r-- | pkgs/top-level/dotnet-packages.nix | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/pkgs/top-level/dotnet-packages.nix b/pkgs/top-level/dotnet-packages.nix index 20dfe4e47b73..a6ff1d0924da 100644 --- a/pkgs/top-level/dotnet-packages.nix +++ b/pkgs/top-level/dotnet-packages.nix @@ -113,6 +113,65 @@ let self = dotnetPackages // overrides; dotnetPackages = with self; { # SOURCE PACKAGES + ExcelDna = buildDotnetPackage rec { + baseName = "Excel-DNA"; + version = "0.32.0"; + + src = fetchFromGitHub { + owner = "Excel-DNA"; + repo = "ExcelDna"; + rev = "10a163843bcc2fb5517f6f3d499e18a8b64df511"; + sha256 = "1w2ag9na20ly0m2sic3nkgdc4qqyb4x4c9iv588ynpkgd1pjndrk"; + }; + + buildInputs = [ ]; + + preConfigure = '' + rm -vf Distribution/*.dll Distribution/*.exe # Make sure we don't use those + substituteInPlace Source/ExcelDna.Integration/ExcelDna.Integration.csproj --replace LogDisplay.designer.cs LogDisplay.Designer.cs + ''; + + xBuildFiles = [ "Source/ExcelDna.sln" ]; + outputFiles = [ "Source/ExcelDnaPack/bin/Release/*" "Distribution/ExcelDna.xll" "Distribution/ExcelDna64.xll" ]; + + meta = { + description = "Excel-DNA is an independent project to integrate .NET into Excel"; + homepage = "http://excel-dna.net/"; + license = stdenv.lib.licenses.mit; + maintainers = with stdenv.lib.maintainers; [ obadz ]; + platforms = with stdenv.lib.platforms; linux; + }; + }; + + ExcelDnaRegistration = buildDotnetPackage rec { + baseName = "Excel-DNA.Registration"; + version = "git-" + (builtins.substring 0 10 rev); + rev = "69abb1b3528f40dbcf425e13690aaeab5f707bb6"; + + src = fetchFromGitHub { + inherit rev; + owner = "Excel-DNA"; + repo = "Registration"; + sha256 = "094932h6r2f4x9r5mnw8rm4jzz8vkfv90d95qi3h0i89ws2dnn07"; + }; + + buildInputs = [ + fsharp + dotnetPackages.ExcelDna + ]; + + xBuildFiles = [ "Source/ExcelDna.Registration/ExcelDna.Registration.csproj" "Source/ExcelDna.Registration.FSharp/ExcelDna.Registration.FSharp.fsproj" ]; + outputFiles = [ "Source/ExcelDna.Registration/bin/Release/*" "Source/ExcelDna.Registration.FSharp/bin/Release/*FSharp*" ]; + + meta = { + description = "This library implements helper functions to assist and modify the Excel-DNA function registration"; + homepage = "https://github.com/Excel-DNA/Registration"; + license = stdenv.lib.licenses.mit; + maintainers = with stdenv.lib.maintainers; [ obadz ]; + platforms = with stdenv.lib.platforms; linux; + }; + }; + ExtCore = buildDotnetPackage rec { baseName = "ExtCore"; version = "0.8.46"; |