listmonk: 2.2.0 -> 2.5.1
It was impossible to package further versions before because listmonk upstream was using a very EOL Go version. I was waiting for upstream to bump this, but it didn't happen, so I take the matters in my hand. Hopefully, the upstream PR will be accepted.
This commit is contained in:
parent
f2f2a6e17b
commit
4e9874aaa6
@ -1,17 +1,24 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, callPackage, stuffbin, nixosTests }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, callPackage, stuffbin, nixosTests, fetchpatch }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "listmonk";
|
||||
version = "2.2.0";
|
||||
version = "2.5.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "knadh";
|
||||
repo = "listmonk";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-dtIM0dkr8y+GbyCqrBlR5VRq6qMiZdmQyFvIoVY1eUg=";
|
||||
sha256 = "sha256-gCnIblc83CmG1auvYYxqW/xBl6Oy1KHGkqSY/3yIm3I=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-qeBuDM3REUxgu3ty02d7qsULH04USE0JUvBrtVnW8vg=";
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/knadh/listmonk/pull/1479.patch";
|
||||
hash = "sha256-SYACM8r+NgeSWn9VJV4+wkm+6s/MhNGwn5zyc2tw7FU=";
|
||||
})
|
||||
];
|
||||
|
||||
vendorSha256 = "sha256-0sgC1+ueZTUCP+7JwI/OKLktfMHQq959GEk1mC0TQgE=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
stuffbin
|
||||
|
@ -5,13 +5,13 @@
|
||||
|
||||
yarn2nix-moretea.mkYarnPackage rec {
|
||||
pname = "listmonk-frontend";
|
||||
version = "2.2.0";
|
||||
version = "2.5.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "knadh";
|
||||
repo = "listmonk";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-dtIM0dkr8y+GbyCqrBlR5VRq6qMiZdmQyFvIoVY1eUg=";
|
||||
sha256 = "sha256-gCnIblc83CmG1auvYYxqW/xBl6Oy1KHGkqSY/3yIm3I=";
|
||||
};
|
||||
|
||||
packageJSON = ./package.json;
|
||||
|
Loading…
Reference in New Issue
Block a user