diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-06 14:06:31 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-06 14:06:31 +0200 |
commit | 43dac87fef530d52961cb7df5fdb01aa651d802c (patch) | |
tree | 341a5111afa74eae4070e109dd0a2b30e1ca6162 /pkgs/webapps/mantisbt_2/plugins/slack/default.nix | |
parent | 7f9bc878c96b4e40b72c907cded326fc6bdee38a (diff) | |
download | Nix-43dac87fef530d52961cb7df5fdb01aa651d802c.tar.gz Nix-43dac87fef530d52961cb7df5fdb01aa651d802c.tar.zst Nix-43dac87fef530d52961cb7df5fdb01aa651d802c.zip |
Migrate mantisbt to pkgs
Diffstat (limited to 'pkgs/webapps/mantisbt_2/plugins/slack/default.nix')
-rw-r--r-- | pkgs/webapps/mantisbt_2/plugins/slack/default.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/webapps/mantisbt_2/plugins/slack/default.nix b/pkgs/webapps/mantisbt_2/plugins/slack/default.nix new file mode 100644 index 0000000..61ed15f --- /dev/null +++ b/pkgs/webapps/mantisbt_2/plugins/slack/default.nix | |||
@@ -0,0 +1,18 @@ | |||
1 | { stdenv, fetchFromGitHub }: | ||
2 | stdenv.mkDerivation rec { | ||
3 | passthru = { | ||
4 | pluginName = "Slack"; | ||
5 | }; | ||
6 | version = "9286d2e-master"; | ||
7 | name = "mantisbt-plugin-slack-${version}"; | ||
8 | src = fetchFromGitHub { | ||
9 | owner = "mantisbt-plugins"; | ||
10 | repo = "Slack"; | ||
11 | rev = "9286d2eeeb8a986ed949e378711fef5f0bf182dc"; | ||
12 | sha256 = "0nn0v4jc967giilkzrppi5svd04m2hnals75xxp0iabcdjnih0mn"; | ||
13 | }; | ||
14 | installPhase = '' | ||
15 | sed -i -e "s/return '@' . \\\$username;/return \\\$username;/" Slack.php | ||
16 | cp -a . $out | ||
17 | ''; | ||
18 | } | ||