54 lines
1.1 KiB
Nix
54 lines
1.1 KiB
Nix
|
{ 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}";
|
||
|
};
|
||
|
})
|