mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
saber: init at 0.25.1
This commit is contained in:
parent
cb54f47367
commit
676647a3a8
46
pkgs/by-name/sa/saber/package.nix
Normal file
46
pkgs/by-name/sa/saber/package.nix
Normal file
@ -0,0 +1,46 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
flutter,
|
||||
gst_all_1,
|
||||
libunwind,
|
||||
orc,
|
||||
webkitgtk_4_1,
|
||||
}:
|
||||
flutter.buildFlutterApplication rec {
|
||||
pname = "saber";
|
||||
version = "0.25.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "saber-notes";
|
||||
repo = "saber";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-vpL4Pp1nR6JlANCvo1u/o8yyzSQqtOjUF7Zr34ZitWU=";
|
||||
};
|
||||
|
||||
gitHashes.json2yaml = "sha256-Vb0Bt11OHGX5+lDf8KqYZEGoXleGi5iHXVS2k7CEmDw=";
|
||||
|
||||
pubspecLock = lib.importJSON ./pubspec.lock.json;
|
||||
|
||||
buildInputs = [
|
||||
gst_all_1.gstreamer.dev
|
||||
gst_all_1.gst-plugins-base.dev
|
||||
libunwind.dev
|
||||
orc.dev
|
||||
webkitgtk_4_1
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
install -Dm0644 ./flatpak/com.adilhanney.saber.desktop $out/share/applications/com.adilhanney.saber.desktop
|
||||
install -Dm0644 ./assets/icon/icon.svg $out/share/icons/hicolor/scalable/apps/com.adilhanney.saber.svg
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "The cross-platform open-source app built for handwriting";
|
||||
homepage = "https://github.com/saber-notes/saber";
|
||||
mainProgram = "saber";
|
||||
license = with lib.licenses; [ gpl3Plus ];
|
||||
maintainers = with lib.maintainers; [ aucub ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
2246
pkgs/by-name/sa/saber/pubspec.lock.json
Normal file
2246
pkgs/by-name/sa/saber/pubspec.lock.json
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user