blob: 765b92a680f492053bdaeb1ca99172654fa7e492 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{ lib, fetchgit, nix-gitignore, emacsPackages }:
let
inherit (emacsPackages) trivialBuild;
flakeRoot = toString ../.;
in
lib.recurseIntoAttrs rec {
git-email-full-git = trivialBuild rec {
pname = "git-email-full";
version = "master";
src = nix-gitignore.gitignoreSource (flakeRoot + ".gitignore") ./.;
packageRequires = with emacsPackages; [
magit
transient
notmuch
];
};
git-email-git = trivialBuild rec {
pname = "git-email";
version = "master";
src = builtins.filterSource
(path: type:
baseNameOf path != "git-email-magit.el" &&
baseNameOf path != "git-email-notmuch.el" &&
baseNameOf path != "git-email-gnus.el"
) ./.;
};
git-email = trivialBuild rec {
pname = "git-email";
version = "0.1.0";
src = fetchgit {
url = "https://git.sr.ht/~yoctocell/git-email";
rev = version;
sha256 = "EJ9+/tA7mKn2HQE3kU4HdCbQXtjWUeaUiqnq4HUb+2o=";
};
};
}
|