nixos-config/pkgs/co2_exporter/default.nix
Simon Bruder f945341668
Relicense
This applies the REUSE specification to the repository, so the licensing
information can be tracked for every file individually.
2024-01-13 14:35:31 +01:00

29 lines
702 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# SPDX-FileCopyrightText: 2022-2023 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "co2_exporter";
version = "unstable-2023-07-01";
src = fetchFromGitHub {
owner = "sbruder"; # fork of am3os original version
repo = pname;
rev = "2e1e7af5af6d7e742d69278cf1cb25b08f770e25";
sha256 = "sha256-64/a6NHzUvHgal30lt3k0vEQBvfEHRR7HZfUReKfO54=";
};
subPackages = [ "." ];
vendorHash = "sha256-CMo6FBzw0/OMKEX12oNqhbF/0dRRFR6W3VRp+EU6Q68=";
oCheck = false; # no tests
meta = with lib; {
license = licenses.mit;
maintainer = with mainatiners; [ sbruder ];
};
}