nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

default.nix (612B)


      1 {
      2   lib,
      3   stdenv,
      4   rustPlatform,
      5   fetchFromGitHub,
      6 }:
      7 
      8 rustPlatform.buildRustPackage rec {
      9   pname = "csv2html";
     10   version = "3.1.1";
     11 
     12   src = fetchFromGitHub {
     13     owner = "dbohdan";
     14     repo = "csv2html";
     15     rev = "v${version}";
     16     hash = "sha256-H8nUwK72opUohBN2exZURRAPr1RXLa87exYaGigly0Q=";
     17   };
     18 
     19   cargoHash = "sha256-axvgAXstJU9J7fzez3qfEuxzPs6eCvlyjV8OsxBSg7A=";
     20 
     21   meta = {
     22     description = "Convert CSV files to HTML tables";
     23     homepage = "https://github.com/dbohdan/csv2html";
     24     license = lib.licenses.bsd3;
     25     maintainers = [ lib.maintainers.sikmir ];
     26     mainProgram = "csv2html";
     27   };
     28 }