aboutsummaryrefslogblamecommitdiff
path: root/flakes/mediagoblin/plugins/basicsearch/default.nix
blob: 16be613fa3dd346f983195e167340f6195600b15 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                                    
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
  name = "mediagoblin-plugin-basicsearch-${version}";
  version = "ba0a154-master";
  src = fetchFromGitHub {
    owner = "ayleph";
    repo = "mediagoblin-basicsearch";
    rev = "ba0a1547bd24ebaf363227fe17644d38c6ce8a6b";
    sha256 = "0d4r7xkf4gxmgaxlb264l44xbanis77g49frwfhfzsflxmdwgncy";
  };
  phases = "unpackPhase installPhase";
  installPhase = ''
    cp -R ./basicsearch $out
    '';
  passthru = {
    pluginName = "basicsearch";
  };
}