Update gotosocial to 0.19.1
Changed source location to Codeberg and move to packages folder
This commit is contained in:
parent
db3686983b
commit
ab0e98449f
4 changed files with 29 additions and 33 deletions
27
packages/common/gotosocial/default.nix
Normal file
27
packages/common/gotosocial/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
gotosocial,
|
||||
fetchurl,
|
||||
fetchgit,
|
||||
...
|
||||
}:
|
||||
gotosocial.overrideAttrs (
|
||||
finalAttrs: prevAttrs: {
|
||||
pname = "gotosocial-dtth";
|
||||
version = "0.19.1";
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X main.Version=${finalAttrs.version}"
|
||||
];
|
||||
doCheck = false;
|
||||
web-assets = fetchurl {
|
||||
url = "https://codeberg.org/superseriousbusiness/gotosocial/releases/download/v${finalAttrs.version}/gotosocial_${finalAttrs.version}_web-assets.tar.gz";
|
||||
hash = "sha256-UtxFm8ZSpIGXruBdanSF1lkA7Gs1FJNhoqzDTqSNYUM=";
|
||||
};
|
||||
src = fetchgit {
|
||||
url = "https://codeberg.org/superseriousbusiness/gotosocial.git";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-RhJRdRxTdbZwIAGD3gH0mjDfCvdS7xkRxcUd1ArsNoo=";
|
||||
};
|
||||
}
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue