3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/version-management/sourcehut/pages.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
694 B
Nix
Raw Normal View History

2021-08-13 06:52:00 +01:00
{ lib
, fetchFromSourcehut
, buildGoModule
}:
2021-10-23 01:23:14 +01:00
buildGoModule rec {
pname = "pagessrht";
2022-02-12 00:47:06 +00:00
version = "0.6.2";
2021-08-13 06:52:00 +01:00
src = fetchFromSourcehut {
owner = "~sircmpwn";
repo = "pages.sr.ht";
rev = version;
2022-02-12 00:47:06 +00:00
sha256 = "sha256-ob0+t9V2o8lhVC6fXbi1rNm0Mnbs+GoyAmhBqVZ13PA=";
2021-08-13 06:52:00 +01:00
};
2022-02-12 00:47:06 +00:00
vendorSha256 = "sha256-b0sHSH0jkKoIVq045N96wszuLJDegkkj0v50nuDFleU=";
2021-08-13 06:52:00 +01:00
postInstall = ''
mkdir -p $out/share/sql/
cp -r -t $out/share/sql/ schema.sql migrations
'';
meta = with lib; {
homepage = "https://git.sr.ht/~sircmpwn/pages.sr.ht";
description = "Web hosting service for the sr.ht network";
2021-08-15 21:54:11 +01:00
license = licenses.agpl3Only;
2021-08-13 06:52:00 +01:00
maintainers = with maintainers; [ eadwu ];
};
}