Files
dotfiles/nur.nix
2024-07-05 20:01:17 +02:00

45 lines
1.3 KiB
Nix

# This is the file for my NUR Repo
# Reminder for myself: Any package here should not import <nixpkgs>, but use the pkgs
{ pkgs ? import <nixpkgs> { } }: {
cbm = pkgs.callPackage ./mods/nurPkgs/cbm.nix {};
mac-telnet = pkgs.callPackage ./mods/nurPkgs/mac-telnet.nix {};
vis = pkgs.callPackage ./mods/nurPkgs/vis.nix {};
iio-hyprland = let
repo = pkgs.fetchFromGitHub {
owner = "yassineibr";
repo = "iio-hyprland";
rev = "nix-support";
hash = "sha256-xFc8J8tlw6i+FbTC05nrlvQIXRmguFzDqh+SQOR54TE=";
}; in pkgs.callPackage "${repo}/default.nix" {};
csv2vcf = let
src = pkgs.fetchFromGitHub {
repo = "csv2vcf";
owner = "mridah";
rev = "a6e04999f9cfe350cf59107ea8fc17dad1e43bca";
hash = "sha256-WrlHVQggfU6y7EGLhGR1k5bDyRLp7FUGRdN/8QK9C+o=";
};
in pkgs.writeShellApplication {
name = "csv2vcf";
text = ''
${pkgs.python3}/bin/python ${src}/csv2vcf.py "$@"
'';
meta = with pkgs.lib; {
description = "A small command line tool to convert CSV files to VCard (.vcf) files.";
longDescription = ''
see repo's README.md
'';
homepage = "https://github.com/mridah/csv2vcf";
license = licenses.mit;
maintainers = with lib.maintainers; [ c2vi ];
platforms = platforms.all;
};
};
}