2023-04-30 00:58:33 +03:00
|
|
|
{ stdenv
|
|
|
|
, desktop-file-utils
|
2024-04-25 22:51:40 +03:00
|
|
|
, fetchFromGitLab
|
2023-04-30 00:58:33 +03:00
|
|
|
, gettext
|
|
|
|
, glib
|
|
|
|
, gtk4
|
|
|
|
, libadwaita
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, openssl
|
|
|
|
, pkg-config
|
|
|
|
, python3
|
|
|
|
, rustPlatform
|
2023-06-03 20:11:44 +03:00
|
|
|
, rustc
|
|
|
|
, cargo
|
2023-04-30 00:58:33 +03:00
|
|
|
, wrapGAppsHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2024-04-25 22:51:40 +03:00
|
|
|
pname = "pipeline";
|
|
|
|
version = "1.14.5";
|
2023-04-30 00:58:33 +03:00
|
|
|
|
2024-04-25 22:51:40 +03:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "schmiddi-on-mobile";
|
|
|
|
repo = "pipeline";
|
2023-04-30 00:58:33 +03:00
|
|
|
rev = "v${version}";
|
2024-04-25 22:51:40 +03:00
|
|
|
sha256 = "sha256-C5mFOYYrm8e2zlac7qclhpONKuqdvqfwT74gSX28VPs=";
|
2023-04-30 00:58:33 +03:00
|
|
|
};
|
|
|
|
|
2024-04-25 22:51:40 +03:00
|
|
|
cargoDeps = rustPlatform.importCargoLock {
|
|
|
|
lockFile = ./Cargo.lock;
|
|
|
|
outputHashes = {
|
|
|
|
"tf_core-0.1.4" = "sha256-yOuvHLyX/qUJSs62VbripKwIEoErsPu9rzbKMdndvmc=";
|
|
|
|
};
|
2023-04-30 00:58:33 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
desktop-file-utils
|
|
|
|
gettext
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
python3
|
2023-06-03 20:11:44 +03:00
|
|
|
cargo
|
2023-04-30 00:58:33 +03:00
|
|
|
rustPlatform.cargoSetupHook
|
2023-06-03 20:11:44 +03:00
|
|
|
rustc
|
2023-04-30 00:58:33 +03:00
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
gtk4
|
|
|
|
libadwaita
|
|
|
|
openssl
|
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
patchShebangs build-aux/meson_post_install.py
|
|
|
|
'';
|
|
|
|
}
|