Move Nix files back to the root of the project

This commit is contained in:
Oliver Davies 2025-03-29 23:19:06 +00:00
parent 52044d9995
commit 087153a16d
223 changed files with 12 additions and 12 deletions

30
pkgs/passmenu-otp.nix Normal file
View file

@ -0,0 +1,30 @@
{ pkgs, ... }:
with pkgs;
stdenv.mkDerivation {
pname = "passmenu-otp";
version = "0.1.0";
src = fetchFromGitHub {
owner = "petrmanek";
repo = "passmenu-otp";
rev = "master";
sha256 = "sha256-2EGomeK/p3uVfgho5xGR11ovJQ2q3cPZoFG+z88DyxA=";
};
buildInputs = [
pass
];
installPhase = ''
mkdir -p $out/bin
cp passmenu-otp $out/bin/passmenu-otp
chmod +x $out/bin/passmenu-otp
'';
meta = {
homepage = "https://github.com/petrmanek/passmenu-otp";
mainProgram = "passmenu-otp";
};
}