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
36
pkgs/servers/tt-rss/default.nix
Normal file
36
pkgs/servers/tt-rss/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tt-rss";
|
||||
year = "21";
|
||||
month = "06";
|
||||
day = "21";
|
||||
version = "20${year}-${month}-${day}";
|
||||
rev = "cd26dbe64c9b14418f0b2d826a38a35c6bf8a270";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://git.tt-rss.org/fox/tt-rss/archive/${rev}.tar.gz";
|
||||
sha256 = "1dpmzi7hknv5rk2g1iw13r8zcxcwrhkd5hhf292ml0dw3cwki0gm";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir $out
|
||||
cp -ra * $out/
|
||||
|
||||
# see the code of Config::get_version(). you can check that the version in
|
||||
# the footer of the preferences pages is not UNKNOWN
|
||||
echo "${year}.${month}" > $out/version_static.txt
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Web-based news feed (RSS/Atom) aggregator";
|
||||
license = licenses.gpl2Plus;
|
||||
homepage = "https://tt-rss.org";
|
||||
maintainers = with maintainers; [ globin zohl ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
37
pkgs/servers/tt-rss/plugin-auth-ldap/default.nix
Normal file
37
pkgs/servers/tt-rss/plugin-auth-ldap/default.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{ lib, stdenv, fetchFromGitHub, fetchpatch }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tt-rss-plugin-auth-ldap";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hydrian";
|
||||
repo = "TTRSS-Auth-LDAP";
|
||||
rev = version;
|
||||
sha256 = "1mg9jff2m0ajxql1vd1g7hsxfbv9smhrmjg4j2gvvjbii45ry0jh";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/Mic92/TTRSS-Auth-LDAP/commit/7534fa54babc377a070e05e326a46a252b5e3884.patch";
|
||||
sha256 = "1p7zas0n627z0g226dp5m5dg1ai2z3vi69n3xivp517iv3lch70l";
|
||||
})
|
||||
# https://github.com/hydrian/TTRSS-Auth-LDAP/pull/40
|
||||
(fetchpatch {
|
||||
url = "https://github.com/hydrian/TTRSS-Auth-LDAP/commit/557811efa15bab3b5044c98416f9e37264f11c9a.patch";
|
||||
sha256 = "sha256-KtDY0J1OYNTLwK7834lI+2XL1N1FkOk5zhinGY90/4A=";
|
||||
})
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
install -D plugins/auth_ldap/init.php $out/auth_ldap/init.php
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Plugin for TT-RSS to authenticate users via ldap";
|
||||
license = licenses.asl20;
|
||||
homepage = "https://github.com/hydrian/TTRSS-Auth-LDAP";
|
||||
maintainers = with maintainers; [ mic92 ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
32
pkgs/servers/tt-rss/plugin-ff-instagram/default.nix
Normal file
32
pkgs/servers/tt-rss/plugin-ff-instagram/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ lib, stdenv, fetchFromGitHub, ... }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "tt-rss-plugin-ff-instagram";
|
||||
version = "unstable-2019-01-10"; # No release, see https://github.com/wltb/ff_instagram/issues/6
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "wltb";
|
||||
repo = "ff_instagram";
|
||||
rev = "0366ffb18c4d490c8fbfba2f5f3367a5af23cfe8";
|
||||
sha256 = "0vvzl6wi6jmrqknsfddvckjgsgfizz1d923d1nyrpzjfn6bda1vk";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/ff_instagram
|
||||
|
||||
cp *.php $out/ff_instagram
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Plugin for Tiny Tiny RSS that allows to fetch posts from Instagram user sites";
|
||||
longDescription = ''
|
||||
Plugin for Tiny Tiny RSS that allows to fetch posts from Instagram user sites.
|
||||
|
||||
The name of the plugin in TT-RSS is 'ff_instagram'.
|
||||
'';
|
||||
license = licenses.agpl3;
|
||||
homepage = "https://github.com/wltb/ff_instagram";
|
||||
maintainers = with maintainers; [ das_j ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
29
pkgs/servers/tt-rss/theme-feedly/default.nix
Normal file
29
pkgs/servers/tt-rss/theme-feedly/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tt-rss-theme-feedly";
|
||||
version = "2.9.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "levito";
|
||||
repo = "tt-rss-feedly-theme";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-lxdhEPlKUt6eHcIlD7nd7+CiFC5+s+Me06O7hWB9C4k=";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir $out
|
||||
|
||||
cp -ra feedly *.css $out
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Feedly theme for Tiny Tiny RSS";
|
||||
license = licenses.wtfpl;
|
||||
homepage = "https://github.com/levito/tt-rss-feedly-theme";
|
||||
maintainers = with maintainers; [ das_j ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue