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