]> git.scottworley.com Git - batteryviewer/blame - default.nix
Charts have points
[batteryviewer] / default.nix
CommitLineData
79ac753b 1let
a9a80e4e 2 batteryviewer = { lib, stdenv, gtk3, pkg-config, }:
79ac753b
SW
3 stdenv.mkDerivation {
4 pname = "batteryviewer";
5 version = "0.1";
6
7 src = lib.cleanSource ./.;
8
9 nativeBuildInputs = [ pkg-config ];
a9a80e4e 10 buildInputs = [ gtk3 ];
79ac753b
SW
11
12 makeFlags = [ "prefix=$(out)" ];
13 };
14in { pkgs ? import <nixpkgs> { }, }: {
15 batteryviewer = pkgs.callPackage batteryviewer { };
16}