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
21
pkgs/servers/hockeypuck/server.nix
Normal file
21
pkgs/servers/hockeypuck/server.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
|
||||
|
||||
let
|
||||
sources = (import ./sources.nix) { inherit fetchFromGitHub; };
|
||||
in
|
||||
buildGoModule {
|
||||
inherit (sources) pname version src;
|
||||
|
||||
modRoot = "src/hockeypuck/";
|
||||
vendorSha256 = null;
|
||||
doCheck = false; # Uses networking for tests
|
||||
|
||||
passthru.tests = nixosTests.hockeypuck;
|
||||
|
||||
meta = with lib; {
|
||||
description = "OpenPGP Key Server";
|
||||
homepage = "https://github.com/hockeypuck/hockeypuck";
|
||||
license = licenses.agpl3Plus;
|
||||
maintainers = [ maintainers.etu ];
|
||||
};
|
||||
}
|
||||
16
pkgs/servers/hockeypuck/sources.nix
Normal file
16
pkgs/servers/hockeypuck/sources.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ fetchFromGitHub }:
|
||||
|
||||
let
|
||||
pname = "hockeypuck";
|
||||
version = "2.1.0";
|
||||
in
|
||||
{
|
||||
inherit version pname;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0da3ffbqck0dr7d89gy2yillp7g9a4ziyjlvrm8vgkkg2fs8dlb1";
|
||||
};
|
||||
}
|
||||
28
pkgs/servers/hockeypuck/web.nix
Normal file
28
pkgs/servers/hockeypuck/web.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ stdenv, lib, fetchFromGitHub, nixosTests }:
|
||||
|
||||
let
|
||||
sources = (import ./sources.nix) { inherit fetchFromGitHub; };
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
pname = "${sources.pname}-web";
|
||||
|
||||
inherit (sources) version src;
|
||||
|
||||
dontBuild = true; # We should just copy the web templates
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/
|
||||
|
||||
cp -vr contrib/webroot $out/share/
|
||||
cp -vr contrib/templates $out/share/
|
||||
'';
|
||||
|
||||
passthru.tests = nixosTests.hockeypuck;
|
||||
|
||||
meta = with lib; {
|
||||
description = "OpenPGP Key Server web resources";
|
||||
homepage = "https://github.com/hockeypuck/hockeypuck";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = [ maintainers.etu ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue