]> Git — Sourcephile - sourcephile-nix.git/blob - install/overlays/applications/version-management/redmine/redmine_git_hosting.nix
nix: improve bootstrap/mermet/ upto ssh root@
[sourcephile-nix.git] / install / overlays / applications / version-management / redmine / redmine_git_hosting.nix
1 self: super:
2 {}
3 /*
4 let lib = super.lib;
5 version = "1.2.3";
6 rubyEnv = self.bundlerEnv {
7 name = "redmine_git_hosting-env-${version}";
8 ruby = self.ruby;
9 gemdir = ./.;
10 };
11 in
12 {
13 redmine_git_hosting =
14 super.stdenv.mkDerivation rec {
15 name = "redmine_git_hosting-${version}";
16 inherit version;
17
18 src = super.fetchurl {
19 url = "https://www.redmine.org/attachments/download/18780/${name}.tar.gz";
20 sha256 = "1kkd5cqxa7q9jckrwrjr4gfwf5ncakrjqyypiqz9agrmipdqmxh2";
21 };
22 buildInputs = [ rubyEnv rubyEnv.wrappedRuby rubyEnv.bundler ];
23 installPhase = ''
24 cp -a . $out
25 '';
26
27 meta = with super.stdenv.lib; {
28 homepage = https://www.redmine.org/plugins/redmine_git_hosting;
29 platforms = super.lib.platforms.linux;
30 license = super.lib.licenses.mit;
31 };
32 };
33 }
34 */