cosmic-randr: 1.0.0-alpha.5.1 -> 1.0.0-alpha.6 (#385386)

authored by

Donovan Glover and committed by
GitHub
e9ca61ee d6cc212d

+23 -8
+23 -8
pkgs/by-name/co/cosmic-randr/package.nix
··· 6 just, 7 pkg-config, 8 wayland, 9 }: 10 11 rustPlatform.buildRustPackage rec { 12 pname = "cosmic-randr"; 13 - version = "1.0.0-alpha.5.1"; 14 15 src = fetchFromGitHub { 16 owner = "pop-os"; 17 repo = "cosmic-randr"; 18 - rev = "epoch-${version}"; 19 - hash = "sha256-mPi6TVUWKlHqLzGL84vSBZYuCjdThVVYc7hv9vq7zho="; 20 }; 21 22 useFetchCargoVendor = true; 23 - cargoHash = "sha256-3I4ZyZvV9ELBNCvYVYBUHbh9bGw7B/RrwUlam5fdLxU="; 24 25 nativeBuildInputs = [ 26 just 27 pkg-config 28 ]; 29 buildInputs = [ wayland ]; 30 31 dontUseJustBuild = true; 32 33 justFlags = [ 34 "--set" ··· 39 "target/${stdenv.hostPlatform.rust.cargoShortTarget}/release/cosmic-randr" 40 ]; 41 42 - meta = with lib; { 43 homepage = "https://github.com/pop-os/cosmic-randr"; 44 description = "Library and utility for displaying and configuring Wayland outputs"; 45 - license = licenses.mpl20; 46 - maintainers = with maintainers; [ nyabinary ]; 47 - platforms = platforms.linux; 48 mainProgram = "cosmic-randr"; 49 }; 50 }
··· 6 just, 7 pkg-config, 8 wayland, 9 + nix-update-script, 10 }: 11 12 rustPlatform.buildRustPackage rec { 13 pname = "cosmic-randr"; 14 + version = "1.0.0-alpha.6"; 15 16 src = fetchFromGitHub { 17 owner = "pop-os"; 18 repo = "cosmic-randr"; 19 + tag = "epoch-${version}"; 20 + hash = "sha256-Sqxe+vKonsK9MmJGtbrZHE7frfrjkHXysm0WQt7WSU4="; 21 }; 22 23 useFetchCargoVendor = true; 24 + cargoHash = "sha256-UQ/fhjUiniVeHRQYulYko4OxcWB6UhFuxH1dVAfAzIY="; 25 26 nativeBuildInputs = [ 27 just 28 pkg-config 29 ]; 30 + 31 buildInputs = [ wayland ]; 32 33 dontUseJustBuild = true; 34 + dontUseJustCheck = true; 35 36 justFlags = [ 37 "--set" ··· 42 "target/${stdenv.hostPlatform.rust.cargoShortTarget}/release/cosmic-randr" 43 ]; 44 45 + passthru.updateScript = nix-update-script { 46 + extraArgs = [ 47 + "--version" 48 + "unstable" 49 + "--version-regex" 50 + "epoch-(.*)" 51 + ]; 52 + }; 53 + 54 + meta = { 55 homepage = "https://github.com/pop-os/cosmic-randr"; 56 description = "Library and utility for displaying and configuring Wayland outputs"; 57 + license = lib.licenses.mpl20; 58 + maintainers = with lib.maintainers; [ 59 + nyabinary 60 + HeitorAugustoLN 61 + ]; 62 + platforms = lib.platforms.linux; 63 mainProgram = "cosmic-randr"; 64 }; 65 }