nixos/pkgs/persway.nix

28 lines
637 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
}: let
pname = "persway";
version = "2aa947a954574b5a10fe45301fb2ace3718134ae";
sha256 = "JMi8k82L9CmM6aKjyGfYIjHIfIv7KPihGdcKJUZOmJU=";
cargoSha256 = "27RX1CoCFANG7UqrtthmhG09tokxNPVBLUoWXX+wdwU=";
in
rustPlatform.buildRustPackage {
inherit pname version cargoSha256;
src = fetchFromGitHub {
inherit sha256;
owner = "johnae";
repo = "persway";
rev = version;
};
meta = {
description = " Small Sway IPC Daemon";
homepage = "https://github.com/johnae/persway";
license = lib.licenses.mit;
maintainers = [];
};
}