updates
This commit is contained in:
parent
b6cf7dd347
commit
f20ff92ba8
7 changed files with 84 additions and 55 deletions
|
|
@ -23,10 +23,6 @@ in {
|
|||
python-opencv-headless = python-opencv-headless;
|
||||
python-rembg = python-rembg;
|
||||
|
||||
# tokyo-night-gtk = pkgs.callPackage ./tokyo-night {
|
||||
# inherit (pkgs) lib stdenv fetchFromGitHub gtk-engine-murrine;
|
||||
# };
|
||||
|
||||
vivid-icons = pkgs.callPackage ./vivid-icons {
|
||||
inherit (pkgs) lib stdenv fetchFromGitHub;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,16 +1,13 @@
|
|||
{ lib
|
||||
, python310Packages
|
||||
, fetchurl
|
||||
}:
|
||||
{lib, python310Packages, fetchurl}:
|
||||
|
||||
python310Packages.buildPythonPackage rec {
|
||||
pname = "opencv-python-headless";
|
||||
version = "4.11.0.86";
|
||||
version = "4.9.0.80";
|
||||
format = "wheel";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://files.pythonhosted.org/packages/dd/5c/c139a7876099916879609372bfa513b7f1257f7f1a908b0bdc1c2328241b/opencv_python_headless-4.11.0.86-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl";
|
||||
sha256 = "0yx58bpwl6bcsq3ikv5jzffvxyv663jcyxj9z7ghvx6ikp0jf2hf";
|
||||
url = "https://files.pythonhosted.org/packages/71/19/3c65483a80a1d062d46ae20faf5404712d25cb1dfdcaf371efbd67c38544/opencv_python_headless-4.9.0.80-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl";
|
||||
sha256 = "976656362d68d9f40a5c66f83901430538002465f7db59142784f3893918f3df";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python310Packages; [
|
||||
|
|
|
|||
|
|
@ -1,9 +1,8 @@
|
|||
{
|
||||
lib,
|
||||
python310Packages,
|
||||
fetchPypi,
|
||||
python-pymatting,
|
||||
python-opencv-headless,
|
||||
{ lib,
|
||||
python310Packages,
|
||||
fetchPypi,
|
||||
python-pymatting,
|
||||
python-opencv-headless
|
||||
}:
|
||||
python310Packages.buildPythonPackage rec {
|
||||
pname = "rembg";
|
||||
|
|
@ -22,23 +21,15 @@ python310Packages.buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = with python310Packages; [
|
||||
numpy
|
||||
pillow
|
||||
onnxruntime
|
||||
python-opencv-headless
|
||||
requests
|
||||
aiohttp
|
||||
asynctest
|
||||
click
|
||||
filetype
|
||||
pillow
|
||||
pooch
|
||||
pympler
|
||||
python-pymatting
|
||||
scikit-image
|
||||
scipy
|
||||
tqdm
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
aiohttp
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
|
|
|
|||
|
|
@ -7,25 +7,20 @@
|
|||
stdenv.mkDerivation rec {
|
||||
pname = "vivid-icons";
|
||||
version = "unstable-${builtins.substring 0 7 "fe8b8f1bdd3784dc838c125bb9e1b2d713f40e67"}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "L4ki";
|
||||
repo = "Vivid-Plasma-Themes";
|
||||
rev = "fe8b8f1bdd3784dc838c125bb9e1b2d713f40e67";
|
||||
sha256 ="X6NPEIhjYzf2mYOYnDADJ4A5nJ6T4HTRnF5Y9vKNIrw=";
|
||||
sha256 = "UlZkxeWb2n5TexaQymeyEqAjKwDfonTXO2OYjICHl+U=";
|
||||
};
|
||||
|
||||
buildInputs = [ hicolor-icon-theme ];
|
||||
|
||||
buildInputs = [hicolor-icon-theme];
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/icons
|
||||
|
||||
for dir in Vivid-Icons-*; do
|
||||
if [ -d "$dir" ]; then
|
||||
theme_name=$(basename "$dir")
|
||||
dest_dir="$out/share/icons/$theme_name"
|
||||
cp -r "$dir" "$dest_dir"
|
||||
|
||||
echo "[Icon Theme]" > "$dest_dir/index.theme"
|
||||
echo "Name=$theme_name" >> "$dest_dir/index.theme"
|
||||
echo "Comment=$theme_name icons" >> "$dest_dir/index.theme"
|
||||
|
|
@ -46,16 +41,14 @@ stdenv.mkDerivation rec {
|
|||
echo "Directories=$directories" >> "$dest_dir/index.theme"
|
||||
fi
|
||||
done
|
||||
|
||||
echo "Installed themes:"
|
||||
ls -la $out/share/icons/
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Vivid Icons Theme";
|
||||
homepage = "https://github.com/L4ki/Vivid-Plasma-Themes";
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ "Cobray" ];
|
||||
maintainers = with maintainers; ["Cobray"];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue