22 lines
428 B
Nix
22 lines
428 B
Nix
with import <nixpkgs> {};
|
|
let
|
|
pythonPackages = pkgs.python3Packages;
|
|
newfol =
|
|
pythonPackages.buildPythonPackage rec {
|
|
name = "newfol";
|
|
src = ./.;
|
|
propagatedBuildInputs = [
|
|
pythonPackages.urwid
|
|
];
|
|
|
|
postInstall = ''
|
|
mv -v $out/bin/newfol.py $out/bin/newfol
|
|
'';
|
|
};
|
|
in
|
|
pkgs.mkShell {
|
|
buildInputs = with pythonPackages; [
|
|
# newfol
|
|
];
|
|
packages = [ newfol ];
|
|
}
|