depot/pkgs/by-name/le/leftwm-theme/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

43 lines
992 B
Nix

{
lib,
fetchFromGitHub,
rustPlatform,
openssl,
pkg-config,
}:
rustPlatform.buildRustPackage {
pname = "leftwm-theme";
version = "unstable-2024-03-05";
src = fetchFromGitHub {
owner = "leftwm";
repo = "leftwm-theme";
rev = "b394824ff874b269a90c29e2d45b0cacc4d209f5";
hash = "sha256-cV4tY1qKNluSSGf+WwKFK3iVE7cMevafl6qQvhy1flE=";
};
cargoHash = "sha256-VEQn1LFXiZCVR2WgOFoHo18d3cdIoq9/zNjg8GMs0j8=";
checkFlags = [
# direct writing /tmp
"--skip=models::config::test::test_config_new"
# with network access when testing
"--skip=operations::update::test::test_update_repos"
];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
env = {
OPENSSL_NO_VENDOR = 1;
};
meta = {
description = "Theme manager for LeftWM";
homepage = "https://github.com/leftwm/leftwm-theme";
license = lib.licenses.bsd3;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ denperidge ];
};
}