aboutsummaryrefslogtreecommitdiff
path: root/.config/nixpkgs/packages/chromexup/package.nix
blob: c6c4622424f351dfc1a93e3e0a3de9c3b61d6ef5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ lib, fetchgit, python38 }:

with python38.pkgs;

buildPythonApplication rec {

  pname = "chromexup";
  version = "8eae4e04a3d6fa4838bb8e782b84cdb2edc8540f";

  src = fetchgit {
    rev = version;
    url = "https://github.com/xsmile/chromexup.git";
    sha256 = "0kiqh5zc2rs73amrmj0hrpxccd2qpd3f9zwj7q9i6k7ii5mzw357";
  };

  propagatedBuildInputs = [ requests ];

  postInstall = ''
    cp config.ini.example $out
    cp -rT scripts/systemd $out
  '';

  meta = with lib; {
    license = licenses.mit;
    inherit (src.meta) homepage;
    platforms = platforms.linux;
    description = "External extension updater for Chromium based browsers";
  };
}