uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
54
pkgs/data/icons/bibata-cursors/default.nix
Normal file
54
pkgs/data/icons/bibata-cursors/default.nix
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchurl
|
||||
, clickgen
|
||||
, unzip
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bibata-cursors";
|
||||
version = "1.1.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ful1e5";
|
||||
repo = "Bibata_Cursor";
|
||||
rev = "v${version}";
|
||||
sha256 = "1q2wdbrmdnr9mwiilm5cc9im3zwbl7yaj1zpy5wwn44ypq3hcngy";
|
||||
};
|
||||
|
||||
bitmaps = fetchurl {
|
||||
url = "https://github.com/ful1e5/Bibata_Cursor/releases/download/v${version}/bitmaps.zip";
|
||||
sha256 = "1pcn6par0f0syyhzpzmqr3c6b9ri4lprkdd2ncwzdas01p2d9v1i";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ unzip ];
|
||||
|
||||
buildInputs = [ clickgen ];
|
||||
|
||||
buildPhase = ''
|
||||
mkdir bitmaps
|
||||
unzip $bitmaps -d bitmaps
|
||||
rm -rf themes
|
||||
cd builder && make build_unix
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -dm 0755 $out/share/icons
|
||||
cd ../
|
||||
cp -rf themes/* $out/share/icons/
|
||||
'';
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace "builder/Makefile" \
|
||||
--replace "/bin/bash" "bash"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Material Based Cursor Theme";
|
||||
homepage = "https://github.com/ful1e5/Bibata_Cursor";
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ rawkode AdsonCicilioti ];
|
||||
};
|
||||
}
|
||||
54
pkgs/data/icons/bibata-cursors/extra.nix
Normal file
54
pkgs/data/icons/bibata-cursors/extra.nix
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchurl
|
||||
, clickgen
|
||||
, unzip
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bibata-extra-cursors";
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ful1e5";
|
||||
repo = "Bibata_Extra_Cursor";
|
||||
rev = "v${version}";
|
||||
sha256 = "0wndl4c547k99y0gq922hn7z1mwdgxvvyjfm6757g6shfbcmkz7m";
|
||||
};
|
||||
|
||||
bitmaps = fetchurl {
|
||||
url = "https://github.com/ful1e5/Bibata_Extra_Cursor/releases/download/v${version}/bitmaps.zip";
|
||||
sha256 = "0vf14ln53wigaq3dkqdk5avarqplsq751nlv72da04ms6gqjfhdl";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ unzip ];
|
||||
|
||||
buildInputs = [ clickgen ];
|
||||
|
||||
buildPhase = ''
|
||||
mkdir bitmaps
|
||||
unzip $bitmaps -d bitmaps
|
||||
rm -rf themes
|
||||
cd builder && make build_unix
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -dm 0755 $out/share/icons
|
||||
cd ../
|
||||
cp -rf themes/* $out/share/icons/
|
||||
'';
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace "builder/Makefile" \
|
||||
--replace "/bin/bash" "bash"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Material Based Cursor Theme";
|
||||
homepage = "https://github.com/ful1e5/Bibata_Extra_Cursor";
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ dtzWill AdsonCicilioti ];
|
||||
};
|
||||
}
|
||||
26
pkgs/data/icons/bibata-cursors/translucent.nix
Normal file
26
pkgs/data/icons/bibata-cursors/translucent.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ lib, stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bibata-cursors-translucent";
|
||||
version = "1.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Silicasandwhich";
|
||||
repo = "Bibata_Cursor_Translucent";
|
||||
rev = "v${version}";
|
||||
sha256 = "1ddnwqkxricnd731blckcxvksbgql8k4pfiz65591p81n5095k8y";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
install -dm 0755 $out/share/icons
|
||||
cp -pr Bibata_* $out/share/icons/
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Translucent Varient of the Material Based Cursor";
|
||||
homepage = "https://github.com/Silicasandwhich/Bibata_Cursor_Translucent";
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ dtzWill AdsonCicilioti ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue