git-journal/flake.nix

48 lines
1.3 KiB
Nix
Raw Normal View History

2024-03-14 15:43:01 +00:00
# git-journal - A git plugin to manage journal entries in git
#
# Copyright (c) 2024 Sameer Rahmani <lxsameer@gnu.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 2.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
{
description = "A git plugin to manage journal entries in git";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/442d407992384ed9c0e6d352de75b69079904e4e";
flake_utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils, ... } @ inputs:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
nativeDeps = (with pkgs; [
fish
rustc
cargo
git
]);
# deps = (with pkgs; [
# ]);
in {
devShells.default = pkgs.mkShell {
nativeBuildInputs = nativeDeps;
shellHook = ''
fish && exit
'';
};
});
}