lol

Merge pull request #304603 from AnyTimeTraveler/master

aphorme: init at 0.1.19

authored by

éclairevoyant and committed by
GitHub
06fa7d16 80368c5b

+58
+6
maintainers/maintainer-list.nix
··· 1448 1448 githubId = 4194320; 1449 1449 name = "Anton Schirg"; 1450 1450 }; 1451 + anytimetraveler = { 1452 + email = "simon@simonscode.org"; 1453 + github = "AnyTimeTraveler"; 1454 + githubId = 19378309; 1455 + name = "Simon Struck"; 1456 + }; 1451 1457 aorith = { 1452 1458 email = "aomanu+nixpkgs@gmail.com"; 1453 1459 github = "aorith";
+52
pkgs/by-name/ap/aphorme/package.nix
··· 1 + { lib 2 + , fetchFromGitHub 3 + , rustPlatform 4 + , wayland 5 + , libxkbcommon 6 + , libGL 7 + , stdenv 8 + , testers 9 + , aphorme 10 + , autoPatchelfHook 11 + }: 12 + 13 + rustPlatform.buildRustPackage rec { 14 + pname = "aphorme"; 15 + version = "0.1.19"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "Iaphetes"; 19 + repo = "aphorme_launcher"; 20 + rev = "refs/tags/v${version}"; 21 + hash = "sha256-p1ZIMMDyQWVzoeyHb3sbeV6XQwbIDoQwJU8ynI8hGUI="; 22 + }; 23 + 24 + cargoHash = "sha256-aFoy5KTapx+5aIzvDwMfjxZQ6WKQtvX3h7rNX4LBeN8="; 25 + 26 + # No tests exist 27 + doCheck = false; 28 + 29 + buildInputs = [ stdenv.cc.cc.lib ]; 30 + nativeBuildInputs = [ autoPatchelfHook ]; 31 + 32 + runtimeDependencies = [ 33 + wayland 34 + libGL 35 + libxkbcommon 36 + ]; 37 + 38 + passthru.tests.version = testers.testVersion { 39 + package = aphorme; 40 + command = "aphorme --version"; 41 + version = "aphorme ${version}"; 42 + }; 43 + 44 + meta = { 45 + description = "A 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; 51 + }; 52 + }