some commonly broken packages are now flatpak

This commit is contained in:
William 2025-01-02 22:11:40 -03:00
parent 7e99e6de13
commit a8bb6d4bcd
6 changed files with 9 additions and 90 deletions

View file

@ -1,34 +0,0 @@
{ pkgs, lib }:
pkgs.stdenv.mkDerivation {
name = "cros-ectool";
nativeBuildInputs = with pkgs; [
cmake
ninja
pkg-config
libusb1
libftdi1
];
src = pkgs.fetchFromGitLab {
domain = "gitlab.howett.net";
owner = "DHowett";
repo = "ectool";
rev = "39d64fb0e79e874cfe9877af69158fc2520b1a80";
hash = "sha256-SHRnyqicFlviBDu3aH+uKVUstVxpIhZV6JSuZOgOwXU=";
};
installPhase = ''
mkdir -p $out/bin
cp src/ectool $out/bin/ectool
'';
meta = with lib; {
description = "ectool for ChromeOS devices";
homepage = "https://gitlab.howett.net/DHowett/ectool";
license = licenses.bsd3;
platforms = platforms.linux;
mainProgram = "ectool";
};
}

View file

@ -1,38 +0,0 @@
{
lib,
fetchurl,
makeDesktopItem,
appimageTools,
}:
let
releaseNotesVersion = "5.1.6";
in
appimageTools.wrapType2 rec {
pname = "creality-print";
version = "5.1.6";
src = fetchurl {
url = "https://github.com/CrealityOfficial/CrealityPrint/releases/download/v5.1.6/Creality_Print-v5.1.6.10470-x86_64-Release.AppImage";
hash = "sha256-gS7b41UEvjwUWjCAWjJbD5Xz8QblZkT6tv5ceRhjYfI=";
};
desktopItems = [
(makeDesktopItem {
name = "creality-print";
exec = "creality-print";
terminal = false;
desktopName = "Creality Print";
comment = meta.description;
categories = [ "Graphics" ];
})
];
meta = with lib; {
description = "Creality 3D Printing Slicing Software";
homepage = "https://www.creality.com";
changelog = "https://github.com/CrealityOfficial/CrealityPrint/releases/tag/v${releaseNotesVersion}";
license = licenses.agpl3Only;
platforms = platforms.linux;
mainProgram = "creality-print";
};
}