]>
Commit | Line | Data |
---|---|---|
1 | let | |
2 | batteryviewer = { lib, stdenv, gtk3, pkg-config, }: | |
3 | stdenv.mkDerivation { | |
4 | pname = "batteryviewer"; | |
5 | version = "0.1"; | |
6 | ||
7 | src = lib.cleanSource ./.; | |
8 | ||
9 | nativeBuildInputs = [ pkg-config ]; | |
10 | buildInputs = [ gtk3 ]; | |
11 | ||
12 | makeFlags = [ "prefix=$(out)" ]; | |
13 | }; | |
14 | in { pkgs ? import <nixpkgs> { }, }: { | |
15 | batteryviewer = pkgs.callPackage batteryviewer { }; | |
16 | } |