update polygon-art

This commit is contained in:
Ingolf Wagner 2021-04-16 18:49:03 +02:00
parent 874c82e067
commit 3a76faa494
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
2 changed files with 6 additions and 6 deletions

View file

@ -1,16 +1,17 @@
{ rustPlatform, fetchgit, stdenv, cairo, geos, clipper, clang, pkg-config, cmake
, openssl, llvmPackages, ... }:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage {
name = "polygon-art-${version}";
pname = "polygon-art";
version = "1.0.0";
# nix-prefetch-git-rendered --rev refs/heads/develop https://git.ingolf-wagner.de/palo/polygon-art.git
src = fetchgit {
url = "https://git.ingolf-wagner.de/palo/polygon-art.git";
rev = "bc571b10a8be3357b517d2c413c0c2111593e4bf";
sha256 = "0dn3111cy50znxr5hawmkz3lcywxhzjz77jqq88pf1dh03jy2f45";
rev = "dfb6e0789ec67ee649050ad3b16d8b6a6b38955d";
sha256 = "0iqmikvl93pazxfd120hcr0waxav7zy6px5kmdqxifrjgdbda9xx";
};
cargoSha256 = "05rkn8iihj4j9k179xx7wn2a07hxks050raj6fbxmj6gdx6aj170";
@ -28,7 +29,6 @@ rustPlatform.buildRustPackage rec {
homepage = "https://git.ingolf-wagner.de/palo/polygon-art.git";
license = licenses.gpl3Plus;
maintainers = [ maintainers.mrVanDalo ];
#platforms = platforms.all;
};
}

View file

@ -19,7 +19,7 @@ let
nixStartRedshift = "${pkgs.redshift}/bin/redshift -O 6100 -g 0.9:0.9:0.9 -b 0.9"
nixResetRedshift = "${pkgs.redshift}/bin/redshift -x"
nixSetCursorImage = "${pkgs.xorg.xsetroot}/bin/xsetroot -cursor_name left_ptr"
nixSetBackground = "${pkgs.polygon-art}/bin/asteroids --height ${
nixSetBackground = "${pkgs.polygon-art}/bin/rings --height ${
toString height
} --width ${
toString width