2023-08-25 04:48:35 +00:00
|
|
|
{
|
|
|
|
description = "nnn, the file manager";
|
|
|
|
|
|
|
|
outputs = { self, nixpkgs }:
|
2024-02-06 02:02:35 +00:00
|
|
|
let
|
|
|
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
|
|
|
buildInputs = [ pkgs.gnumake pkgs.gcc pkgs.readline pkgs.pkg-config ];
|
2024-09-13 04:27:35 +00:00
|
|
|
nnn = pkgs.stdenv.mkDerivation {
|
2024-02-06 02:02:35 +00:00
|
|
|
pname = "nnn";
|
|
|
|
version = "v4.9";
|
|
|
|
src = ./.;
|
|
|
|
inherit buildInputs;
|
2023-08-25 04:48:35 +00:00
|
|
|
};
|
2024-09-13 04:27:35 +00:00
|
|
|
in {
|
|
|
|
devShell.x86_64-linux = pkgs.mkShell {
|
|
|
|
inherit buildInputs;
|
|
|
|
};
|
|
|
|
packages.x86_64-linux.default = nnn;
|
|
|
|
overlays.default = final: prev: {
|
|
|
|
inherit nnn;
|
|
|
|
};
|
2023-08-25 04:48:35 +00:00
|
|
|
};
|
|
|
|
}
|