nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 43 lines 992 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 rustPlatform, 5 openssl, 6 pkg-config, 7}: 8 9rustPlatform.buildRustPackage { 10 pname = "leftwm-theme"; 11 version = "unstable-2024-03-05"; 12 13 src = fetchFromGitHub { 14 owner = "leftwm"; 15 repo = "leftwm-theme"; 16 rev = "b394824ff874b269a90c29e2d45b0cacc4d209f5"; 17 hash = "sha256-cV4tY1qKNluSSGf+WwKFK3iVE7cMevafl6qQvhy1flE="; 18 }; 19 20 cargoHash = "sha256-v3PHMaXJCEBiCd+78b/BXRooZC4Py82gDcvA/efNJ7w="; 21 22 checkFlags = [ 23 # direct writing /tmp 24 "--skip=models::config::test::test_config_new" 25 # with network access when testing 26 "--skip=operations::update::test::test_update_repos" 27 ]; 28 29 nativeBuildInputs = [ pkg-config ]; 30 buildInputs = [ openssl ]; 31 32 env = { 33 OPENSSL_NO_VENDOR = 1; 34 }; 35 36 meta = { 37 description = "Theme manager for LeftWM"; 38 homepage = "https://github.com/leftwm/leftwm-theme"; 39 license = lib.licenses.bsd3; 40 platforms = lib.platforms.linux; 41 maintainers = with lib.maintainers; [ denperidge ]; 42 }; 43}