Skip to content

Commit

Permalink
Merge pull request NixOS#331111 from supinie/master
Browse files Browse the repository at this point in the history
cnsprcy: init at 0.2.0
  • Loading branch information
JulienMalka authored Aug 9, 2024
2 parents 04f7bb6 + 3a79d83 commit 7bdd525
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions pkgs/by-name/cn/cnsprcy/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
lib,
fetchFromSourcehut,
rustPlatform,
sqlite,
}:

rustPlatform.buildRustPackage rec {
pname = "cnsprcy";
version = "0.2.0";

src = fetchFromSourcehut {
owner = "~xaos";
repo = pname;
rev = "v0.2.0";
hash = "sha256-f+DauSU4bT3EljY8/ig7jLnUgyDPEo2NSBQcPN0iKx0=";
};

cargoHash = "sha256-e9+nMz/FCtd5pnHSHA1RenWzrgIHyCf5eEDO4xMxGHk=";

RUSTC_BOOTSTRAP = true;

buildInputs = [ sqlite ];

meta = {
description = "End to end encrypted connections between trusted devices";
homepage = "https://git.sr.ht/~xaos/cnsprcy";
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [ supinie ];
mainProgram = "cnspr";
platforms = lib.platforms.linux;
};
}

0 comments on commit 7bdd525

Please sign in to comment.