HermitNix_DEPRECATED/Programs/Hyperplane/default.nix

54 lines
1.1 KiB
Nix
Raw Normal View History

2024-01-12 22:09:10 +00:00
{ blueprint-compiler
, desktop-file-utils
, fetchFromGitHub
, gobject-introspection
, lib
, libadwaita
, meson
, ninja
, python3
, stdenv
, wrapGAppsHook4
}:
stdenv.mkDerivation (finalAttrs: {
pname = "hyperplane";
owner = "kra-mo";
version = "0.1.0";
src = fetchFromGitHub {
owner = "${finalAttrs.owner}";
repo = "${finalAttrs.pname}";
rev = "v${finalAttrs.version}-beta";
hash = "sha256-ShpB6Etew1+naLyxHGhHCcyD95QlurWQ+S9/zbMXYrw=";
};
buildInputs = [
libadwaita
(python3.withPackages (p: with p; [
pillow
pygobject3
pyyaml
requests
]))
];
nativeBuildInputs = [
blueprint-compiler
desktop-file-utils
gobject-introspection
meson
ninja
wrapGAppsHook4
];
meta = with lib; {
inherit (src.meta) homepage;
description = "A non-hierachical file manager";
platforms = platforms.linux;
maintainers = with maintainers; [ hertog ];
license = licenses.gpl3;
changelog = "https://github.com/${finalAttrs.owner}/${finalAttrs.pname}/releases/tag/${finalAttrs.version}";
};
})