13 rustPlatform.buildRustPackage rec {
17 src = fetchFromGitHub {
19 repo = "aphorme_launcher";
20 rev = "refs/tags/v${version}";
21 hash = "sha256-p1ZIMMDyQWVzoeyHb3sbeV6XQwbIDoQwJU8ynI8hGUI=";
24 cargoHash = "sha256-aFoy5KTapx+5aIzvDwMfjxZQ6WKQtvX3h7rNX4LBeN8=";
29 buildInputs = [ stdenv.cc.cc.lib ];
30 nativeBuildInputs = [ autoPatchelfHook ];
32 runtimeDependencies = [
38 passthru.tests.version = testers.testVersion {
40 command = "aphorme --version";
41 version = "aphorme ${version}";
45 description = "Program launcher for window managers, written in Rust";
46 mainProgram = "aphorme";
47 homepage = "https://github.com/Iaphetes/aphorme_launcher";
48 license = lib.licenses.gpl3Plus;
49 maintainers = with lib.maintainers; [ anytimetraveler ];
50 platforms = lib.platforms.linux;