git.iko.soy/typeable/nixpkgs
on master help sign in
dotnet: package ExcelDna 0.32.0 + ExcelDna.Registration
commit9c205124e4547da214df4f1b73937dce0cbcc350 authorobadz <dav-github@odav.org> dateSun 14 Jun 2015, 01:42 (11 years ago) parent14dcf50
1 file changed+59
pkgs/top-level/dotnet-packages.nix+59
pkgs/top-level/dotnet-packages.nix+59
@@ -113,6 +113,65 @@ let self = dotnetPackages // overrides; dotnetPackages = with self; {
113113
114114 # SOURCE PACKAGES
115115
116+ ExcelDna = buildDotnetPackage rec {
117+ baseName = "Excel-DNA";
118+ version = "0.32.0";
119+
120+ src = fetchFromGitHub {
121+ owner = "Excel-DNA";
122+ repo = "ExcelDna";
123+ rev = "10a163843bcc2fb5517f6f3d499e18a8b64df511";
124+ sha256 = "1w2ag9na20ly0m2sic3nkgdc4qqyb4x4c9iv588ynpkgd1pjndrk";
125+ };
126+
127+ buildInputs = [ ];
128+
129+ preConfigure = ''
130+ rm -vf Distribution/*.dll Distribution/*.exe # Make sure we don't use those
131+ substituteInPlace Source/ExcelDna.Integration/ExcelDna.Integration.csproj --replace LogDisplay.designer.cs LogDisplay.Designer.cs
132+ '';
133+
134+ xBuildFiles = [ "Source/ExcelDna.sln" ];
135+ outputFiles = [ "Source/ExcelDnaPack/bin/Release/*" "Distribution/ExcelDna.xll" "Distribution/ExcelDna64.xll" ];
136+
137+ meta = {
138+ description = "Excel-DNA is an independent project to integrate .NET into Excel";
139+ homepage = "http://excel-dna.net/";
140+ license = stdenv.lib.licenses.mit;
141+ maintainers = with stdenv.lib.maintainers; [ obadz ];
142+ platforms = with stdenv.lib.platforms; linux;
143+ };
144+ };
145+
146+ ExcelDnaRegistration = buildDotnetPackage rec {
147+ baseName = "Excel-DNA.Registration";
148+ version = "git-" + (builtins.substring 0 10 rev);
149+ rev = "69abb1b3528f40dbcf425e13690aaeab5f707bb6";
150+
151+ src = fetchFromGitHub {
152+ inherit rev;
153+ owner = "Excel-DNA";
154+ repo = "Registration";
155+ sha256 = "094932h6r2f4x9r5mnw8rm4jzz8vkfv90d95qi3h0i89ws2dnn07";
156+ };
157+
158+ buildInputs = [
159+ fsharp
160+ dotnetPackages.ExcelDna
161+ ];
162+
163+ xBuildFiles = [ "Source/ExcelDna.Registration/ExcelDna.Registration.csproj" "Source/ExcelDna.Registration.FSharp/ExcelDna.Registration.FSharp.fsproj" ];
164+ outputFiles = [ "Source/ExcelDna.Registration/bin/Release/*" "Source/ExcelDna.Registration.FSharp/bin/Release/*FSharp*" ];
165+
166+ meta = {
167+ description = "This library implements helper functions to assist and modify the Excel-DNA function registration";
168+ homepage = "https://github.com/Excel-DNA/Registration";
169+ license = stdenv.lib.licenses.mit;
170+ maintainers = with stdenv.lib.maintainers; [ obadz ];
171+ platforms = with stdenv.lib.platforms; linux;
172+ };
173+ };
174+
116175 ExtCore = buildDotnetPackage rec {
117176 baseName = "ExtCore";
118177 version = "0.8.46";