aboutsummaryrefslogtreecommitdiff
path: root/flakes/mediagoblin/plugins/basicsearch
diff options
context:
space:
mode:
Diffstat (limited to 'flakes/mediagoblin/plugins/basicsearch')
-rw-r--r--flakes/mediagoblin/plugins/basicsearch/default.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/flakes/mediagoblin/plugins/basicsearch/default.nix b/flakes/mediagoblin/plugins/basicsearch/default.nix
new file mode 100644
index 0000000..16be613
--- /dev/null
+++ b/flakes/mediagoblin/plugins/basicsearch/default.nix
@@ -0,0 +1,18 @@
1{ stdenv, fetchFromGitHub }:
2stdenv.mkDerivation rec {
3 name = "mediagoblin-plugin-basicsearch-${version}";
4 version = "ba0a154-master";
5 src = fetchFromGitHub {
6 owner = "ayleph";
7 repo = "mediagoblin-basicsearch";
8 rev = "ba0a1547bd24ebaf363227fe17644d38c6ce8a6b";
9 sha256 = "0d4r7xkf4gxmgaxlb264l44xbanis77g49frwfhfzsflxmdwgncy";
10 };
11 phases = "unpackPhase installPhase";
12 installPhase = ''
13 cp -R ./basicsearch $out
14 '';
15 passthru = {
16 pluginName = "basicsearch";
17 };
18}