Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

qcard: init at 0.7.1

authored by

Anton Mosich and committed by
Anderson Torres
43d1a2fc 93033641

+40
+38
pkgs/tools/networking/qcard/default.nix
··· 1 + { lib 2 + , buildGoModule 3 + , fetchFromSourcehut 4 + }: 5 + 6 + buildGoModule rec { 7 + pname = "qcard"; 8 + version = "0.7.1"; 9 + 10 + src = fetchFromSourcehut { 11 + owner = "~psic4t"; 12 + repo = "qcard"; 13 + rev = version; 14 + hash = "sha256-OwmJSeAOZTX7jMhoLHSIJa0jR8zCadISQF/PqFqltRY="; 15 + }; 16 + 17 + vendorHash = null; 18 + 19 + # Replace "config-sample.json" in error message with the absolute path 20 + # to that config file in the nix store 21 + preBuild = '' 22 + substituteInPlace helpers.go \ 23 + --replace " config-sample.json " " $out/share/qcard/config-sample.json " 24 + ''; 25 + 26 + postInstall = '' 27 + mkdir -p $out/share/qcard 28 + cp config-sample.json $out/share/qcard/ 29 + ''; 30 + 31 + meta = { 32 + description = "CLI addressbook application for CardDAV servers written in Go"; 33 + homepage = "https://git.sr.ht/~psic4t/qcard"; 34 + license = lib.licenses.gpl3Plus; 35 + mainProgram = "qcard"; 36 + maintainers = with lib.maintainers; [ antonmosich ]; 37 + }; 38 + }
+2
pkgs/top-level/all-packages.nix
··· 27408 27408 27409 27409 qcal = callPackage ../tools/networking/qcal/default.nix { }; 27410 27410 27411 + qcard = callPackage ../tools/networking/qcard { }; 27412 + 27411 27413 rake = callPackage ../development/tools/build-managers/rake { }; 27412 27414 27413 27415 rakkess = callPackage ../development/tools/rakkess { };