File tree Expand file tree Collapse file tree 1 file changed +23
-8
lines changed
pkgs/by-name/co/cosmic-randr Expand file tree Collapse file tree 1 file changed +23
-8
lines changed Original file line number Diff line number Diff line change 66 just ,
77 pkg-config ,
88 wayland ,
9+ nix-update-script ,
910} :
1011
1112rustPlatform . buildRustPackage rec {
1213 pname = "cosmic-randr" ;
13- version = "1.0.0-alpha.5.1 " ;
14+ version = "1.0.0-alpha.6 " ;
1415
1516 src = fetchFromGitHub {
1617 owner = "pop-os" ;
1718 repo = "cosmic-randr" ;
18- rev = "epoch-${ version } " ;
19- hash = "sha256-mPi6TVUWKlHqLzGL84vSBZYuCjdThVVYc7hv9vq7zho =" ;
19+ tag = "epoch-${ version } " ;
20+ hash = "sha256-Sqxe+vKonsK9MmJGtbrZHE7frfrjkHXysm0WQt7WSU4 =" ;
2021 } ;
2122
2223 useFetchCargoVendor = true ;
23- cargoHash = "sha256-3I4ZyZvV9ELBNCvYVYBUHbh9bGw7B/RrwUlam5fdLxU =" ;
24+ cargoHash = "sha256-UQ/fhjUiniVeHRQYulYko4OxcWB6UhFuxH1dVAfAzIY =" ;
2425
2526 nativeBuildInputs = [
2627 just
2728 pkg-config
2829 ] ;
30+
2931 buildInputs = [ wayland ] ;
3032
3133 dontUseJustBuild = true ;
34+ dontUseJustCheck = true ;
3235
3336 justFlags = [
3437 "--set"
@@ -39,12 +42,24 @@ rustPlatform.buildRustPackage rec {
3942 "target/${ stdenv . hostPlatform . rust . cargoShortTarget } /release/cosmic-randr"
4043 ] ;
4144
42- meta = with lib ; {
45+ passthru . updateScript = nix-update-script {
46+ extraArgs = [
47+ "--version"
48+ "unstable"
49+ "--version-regex"
50+ "epoch-(.*)"
51+ ] ;
52+ } ;
53+
54+ meta = {
4355 homepage = "https://github.com/pop-os/cosmic-randr" ;
4456 description = "Library and utility for displaying and configuring Wayland outputs" ;
45- license = licenses . mpl20 ;
46- maintainers = with maintainers ; [ nyabinary ] ;
47- platforms = platforms . linux ;
57+ license = lib . licenses . mpl20 ;
58+ maintainers = with lib . maintainers ; [
59+ nyabinary
60+ HeitorAugustoLN
61+ ] ;
62+ platforms = lib . platforms . linux ;
4863 mainProgram = "cosmic-randr" ;
4964 } ;
5065}
You can’t perform that action at this time.
0 commit comments