cleanup
This commit is contained in:
parent
e854d2515d
commit
90d8370b82
34 changed files with 39 additions and 131 deletions
|
|
@ -1,6 +1,7 @@
|
|||
{ pkgs ? import <nixpkgs> {}, lib ? pkgs.lib }:
|
||||
|
||||
let
|
||||
{
|
||||
pkgs ? import <nixpkgs> {},
|
||||
lib ? pkgs.lib,
|
||||
}: let
|
||||
numpy-1 = pkgs.python311Packages.numpy.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "1.26.4";
|
||||
src = pkgs.fetchPypi {
|
||||
|
|
@ -16,9 +17,7 @@ let
|
|||
numpy = numpy-1;
|
||||
};
|
||||
};
|
||||
|
||||
in {
|
||||
|
||||
fish-rust = pkgs.callPackage ./fish-rust {};
|
||||
|
||||
python-pymatting = pkgs.callPackage ./python-pymatting {
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
{ lib
|
||||
, python311Packages
|
||||
, fetchPypi
|
||||
, stdenv
|
||||
, makeWrapper
|
||||
, cmake
|
||||
, pkg-config
|
||||
{ lib,
|
||||
python311Packages,
|
||||
fetchPypi,
|
||||
stdenv,
|
||||
makeWrapper,
|
||||
cmake,
|
||||
pkg-config
|
||||
}:
|
||||
|
||||
python311Packages.buildPythonPackage rec {
|
||||
|
|
|
|||
|
|
@ -34,6 +34,6 @@ python311Packages.buildPythonPackage rec {
|
|||
homepage = "https://github.com/pymatting/pymatting";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ "Cobray" ];
|
||||
maintainers = with maintainers; ["Cobray"];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{ lib
|
||||
, python311Packages
|
||||
, fetchPypi
|
||||
, python-pymatting
|
||||
, python-opencv-headless
|
||||
{ lib,
|
||||
python311Packages,
|
||||
fetchPypi,
|
||||
python-pymatting,
|
||||
python-opencv-headless
|
||||
}:
|
||||
python311Packages.buildPythonPackage rec {
|
||||
pname = "rembg";
|
||||
|
|
|
|||
|
|
@ -1,41 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
gtk-engine-murrine,
|
||||
gnome-themes-extra,
|
||||
bash,
|
||||
sassc,
|
||||
}:
|
||||
stdenv.mkDerivation {
|
||||
pname = "tokyo-night-gtk";
|
||||
version = "main";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Fausto-Korpsvart";
|
||||
repo = "Tokyonight-GTK-Theme";
|
||||
rev = "4dc45d60bf35f50ebd9ee41f16ab63783f80dd64";
|
||||
sha256 = "0c7sp9n2pc70yy9msmbmcyhqbr63v1ssnsxk6vg10zwwc3wl19h0";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [bash sassc];
|
||||
buildInputs = [gtk-engine-murrine gnome-themes-extra];
|
||||
propagatedUserEnvPkgs = [gtk-engine-murrine];
|
||||
|
||||
buildPhase = ''
|
||||
bash ./install.sh --dest $out/share/themes -n Tokyonight
|
||||
bash ./install.sh --dest $out/share/themes -n Tokyonight --tweaks storm
|
||||
bash ./install.sh --dest $out/share/themes -n Tokyonight --tweaks storm black
|
||||
bash ./install.sh --dest $out/share/themes -n Tokyonight --tweaks storm black outline
|
||||
'';
|
||||
|
||||
installPhase = "";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tokyo Night GTK Theme";
|
||||
homepage = "https://github.com/Fausto-Korpsvart/Tokyonight-GTK-Theme";
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.all;
|
||||
maintainers = ["Cobray"];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue