-
Notifications
You must be signed in to change notification settings - Fork 1
/
flake.nix
30 lines (29 loc) · 809 Bytes
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
description =
''
Vertical menu widget for prompt-toolkit with optional fzf-inspired search
'';
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages."${system}";
python = pkgs.python3Packages;
ptvertmenu = pkgs.python3Packages.buildPythonPackage {
pname = "ptvertmenu";
version = "0.2.2";
src = self;
requirements = builtins.readFile ./requirements.txt;
propagatedBuildInputs = [
python.prompt-toolkit
];
};
in
rec {
packages.default = ptvertmenu;
}
);
}