mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
pkgs/pigeon-mail: init at 0.4.2
This commit is contained in:
parent
d6318cbd7c
commit
6bea4da5be
@ -24,6 +24,7 @@ lib.makeScope newScope (self: {
|
|||||||
pop-launcher-plugin-duckduckgo-bangs =
|
pop-launcher-plugin-duckduckgo-bangs =
|
||||||
callPackage ./pop-launcher-plugin-duckduckgo-bangs.nix { };
|
callPackage ./pop-launcher-plugin-duckduckgo-bangs.nix { };
|
||||||
pop-launcher-plugin-jetbrains = callPackage ./pop-launcher-plugin-jetbrains { };
|
pop-launcher-plugin-jetbrains = callPackage ./pop-launcher-plugin-jetbrains { };
|
||||||
|
pigeon-mail = callPackage ./pigeon-mail { };
|
||||||
swh = callPackage ./software-heritage { python3Packages = python310Packages; };
|
swh = callPackage ./software-heritage { python3Packages = python310Packages; };
|
||||||
speki = callPackage ./speki { };
|
speki = callPackage ./speki { };
|
||||||
tic-80 = callPackage ./tic-80 { };
|
tic-80 = callPackage ./tic-80 { };
|
||||||
|
39
pkgs/pigeon-mail/default.nix
Normal file
39
pkgs/pigeon-mail/default.nix
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
{ lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, rustPlatform
|
||||||
|
, pkg-config
|
||||||
|
, openssl
|
||||||
|
}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "pigeon-mail";
|
||||||
|
version = "0.4.2";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "quambene";
|
||||||
|
repo = "pigeon-rs";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-qtyPSOG6QFbOM4i9XDXMz1Cmn9a5J8lLhnRkBIWz8Ic=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoHash = "sha256-MRSO89qg08GyyIuzEpSO4qQTZS876U3SeGJ6eCO+3BA=";
|
||||||
|
|
||||||
|
env = {
|
||||||
|
OPENSSL_NO_VENDOR = "1";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
buildInputs = [ openssl ];
|
||||||
|
|
||||||
|
# It requires Postgres environment to test so that's a no-go for now.
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/quambene/pigeon-rs";
|
||||||
|
description = "Email automation on the command line";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ foo-dogsquared ];
|
||||||
|
mainProgram = "pigeon";
|
||||||
|
platform = platforms.unix;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user