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
30
pkgs/servers/misc/podgrab/default.nix
Normal file
30
pkgs/servers/misc/podgrab/default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ lib, fetchFromGitHub, buildGoModule, nixosTests }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "podgrab";
|
||||
version = "unstable-2021-04-14";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "akhilrex";
|
||||
repo = pname;
|
||||
rev = "3179a875b8b638fb86d0e829d12a9761c1cd7f90";
|
||||
sha256 = "sha256-vhxIm20ZUi+RusrAsSY54tv/D570/oMO5qLz9dNqgqo=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-xY9xNuJhkWPgtqA/FBVIp7GuWOv+3nrz6l3vaZVLlIE=";
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/share/
|
||||
cp -r $src/client $out/share/
|
||||
cp -r $src/webassets $out/share/
|
||||
'';
|
||||
|
||||
passthru.tests = { inherit (nixosTests) podgrab; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "A self-hosted podcast manager to download episodes as soon as they become live";
|
||||
homepage = "https://github.com/akhilrex/podgrab";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ ambroisie ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue