mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-06-09 02:19:06 +02:00
Added polr package
This commit is contained in:
parent
b53e3e0e34
commit
0d0b9592d4
9 changed files with 6994 additions and 0 deletions
26
packages/polr/default.nix
Normal file
26
packages/polr/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ lib, stdenv, fetchFromGitHub }:
|
||||
let
|
||||
deps = import ./compose.nix {};
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "polr";
|
||||
version = "2.3.0b";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cydrobolt";
|
||||
repo = "polr";
|
||||
rev = "6e7353825711fa5c42c6ec3522254c6875be8dd7";
|
||||
sha256 = "sha256-3yeoQDOzhD8lhAyrh3Ag+PSxHzIVaWuSmOIXlX7gYRE=";
|
||||
};
|
||||
|
||||
patches = [ ./createsuperuser.patch ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/
|
||||
cp -R . $out/
|
||||
cp $out/.env.setup $out/.env
|
||||
cp -r ${deps}/vendor/ $out/vendor/
|
||||
'';
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue