36 lines
1.1 KiB
Nix
36 lines
1.1 KiB
Nix
{
|
|
description = "Loupe image viewer with annotation support";
|
|
|
|
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
|
|
|
|
outputs = { self, nixpkgs }:
|
|
let
|
|
systems = [ "x86_64-linux" "aarch64-linux" ];
|
|
forAllSystems = nixpkgs.lib.genAttrs systems;
|
|
in
|
|
{
|
|
packages = forAllSystems (system:
|
|
let
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
loupe = pkgs.loupe.overrideAttrs (old: {
|
|
version = "51.0.0";
|
|
src = self;
|
|
|
|
cargoDeps = pkgs.rustPlatform.fetchCargoVendor {
|
|
src = self;
|
|
name = "loupe-deps-51.0.0";
|
|
hash = "sha256-rq89XiQdOTVLTxrt8PhDC8LdXCaELIDHiwJu+teu6bY=";
|
|
};
|
|
|
|
meta = (builtins.removeAttrs old.meta [ "changelog" "maintainers" "teams" ]) // {
|
|
homepage = "https://forg.gregersen.it/lazzexus/Loupe";
|
|
description = "Loupe image viewer with screenshot annotation support";
|
|
};
|
|
});
|
|
in
|
|
{
|
|
default = loupe;
|
|
loupe = loupe;
|
|
});
|
|
};
|
|
}
|