Skip to content

Commit

Permalink
alps: 2022-06-03 -> 2022-10-18
Browse files Browse the repository at this point in the history
  • Loading branch information
hmenke committed Nov 17, 2022
1 parent 9820eff commit ee758ab
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions pkgs/servers/alps/default.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{ lib, buildGoModule, fetchFromSourcehut, nixosTests }:
{ lib, buildGoModule, fetchFromSourcehut, fetchpatch, nixosTests }:

buildGoModule rec {
pname = "alps";
version = "2022-06-03";
version = "2022-10-18";

src = fetchFromSourcehut {
owner = "~migadu";
repo = "alps";
rev = "9cb23b09975e95f6a5952e3718eaf471c3e3510f";
hash = "sha256-BUV1/BRIXHEf2FU1rdmNgueo8KSUlMKbIpAg2lFs3hA=";
rev = "f01fbcbc48db5e65d69a0ebd9d7cb0deb378cf13";
hash = "sha256-RSug3YSiqYLGs05Bee4NoaoCyPvUZ7IqlKWI1hmxbiA=";
};

vendorSha256 = "sha256-cpY+lYM/nAX3nUaFknrRAavxDk8UDzJkoqFjJ1/KWeg=";
vendorSha256 = "sha256-XDm6LU9D/rVQHiko7EFpocv+IktGe6tQhJYRrOJxeSs=";

ldflags = [
"-s"
Expand All @@ -20,6 +20,14 @@ buildGoModule rec {
"-X git.sr.ht/~migadu/alps.PluginDir=${placeholder "out"}/share/alps/plugins"
];

patches = [
(fetchpatch {
name = "Issue-160-Alps-theme-has-a-enormous-move-to-list-sel";
url = "https://lists.sr.ht/~migadu/alps-devel/patches/30096/mbox";
hash = "sha256-Sz/SCkrrXZWrmJzjfPXi+UfCcbwsy6QiA7m34iiEFX0=";
})
];

postPatch = ''
substituteInPlace plugin.go --replace "const PluginDir" "var PluginDir"
'';
Expand Down

0 comments on commit ee758ab

Please sign in to comment.