update buildbot package to follow the move in nixpkgs

This commit is contained in:
Julien Malka 2023-06-15 11:03:22 +02:00
parent 090efe83e3
commit 707ceb94d6
Signed by: Luj
GPG key ID: 6FC74C847011FD83
3 changed files with 3 additions and 30 deletions

View file

@ -52,7 +52,6 @@ in
nodePackages = prev.unstable.nodePackages;
hydrasect = prev.pkgs.callPackage ../packages/hydrasect { };
uptime-kuma = prev.pkgs.callPackage ../packages/uptime-kuma { };
buildbot-badges = prev.pkgs.callPackage ../packages/buildbot-badges { };
linkal = inputs.linkal.defaultPackage."${system}";
mosh = prev.unstable.mosh;
hyprpaper = inputs.hyprpaper.packages.${system}.default;

View file

@ -3,7 +3,7 @@ with lib;
let
cfg = config.luj.buildbot;
port = "1810";
package = pkgs.python3Packages.buildbot-worker;
package = pkgs.buildbot-worker;
python = package.pythonModule;
home = "/var/lib/buildbot-worker";
buildbotDir = "${home}/worker";
@ -31,8 +31,8 @@ in
ps.requests
ps.treq
ps.psycopg2
ps.buildbot-worker
pkgs.buildbot-badges
pkgs.buildbot-worker
pkgs.buildbot-plugins.badges
];
};

View file

@ -1,26 +0,0 @@
{ pkgs, lib, python3 }:
with python3.pkgs;
python3.pkgs.buildPythonPackage rec {
pname = "buildbot-badges";
inherit (buildbot-pkg) version;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-2hNf+IT5a+ZQ1186tCwahnpdjZjF3UCsyWWXtT+DuuU=";
};
buildInputs = [ buildbot-pkg ];
propagatedBuildInputs = [ cairosvg klein jinja2 ];
# No tests
doCheck = false;
meta = with lib; {
homepage = "https://buildbot.net/";
description = "Buildbot Badges Plugin";
maintainers = with maintainers; [ julienmalka ];
license = licenses.gpl2;
};
}