nur-packages

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

package.nix (780B)


      1 {
      2   lib,
      3   rustPlatform,
      4   fetchFromGitea,
      5   python3,
      6   sqlite,
      7 }:
      8 
      9 rustPlatform.buildRustPackage (finalAttrs: {
     10   pname = "hittekaart";
     11   version = "0.1.0";
     12 
     13   src = fetchFromGitea {
     14     domain = "codeberg.org";
     15     owner = "dunj3";
     16     repo = "hittekaart";
     17     tag = "v${finalAttrs.version}";
     18     hash = "sha256-bog00/pkpTaUtLDfuR9d8yEhDt9mn9YDyF17ojZMM38=";
     19   };
     20 
     21   cargoHash = "sha256-Izcgxkl7QdNWYRrz9+nKMlCkEDtqiZTIAnJO/b7ZJKs=";
     22 
     23   nativeBuildInputs = [ python3 ];
     24 
     25   buildInputs = [ sqlite ];
     26 
     27   meta = {
     28     description = "Renders heatmaps by reading GPX files and generating OSM overlay tiles";
     29     homepage = "https://codeberg.org/dunj3/hittekaart";
     30     license = lib.licenses.gpl3;
     31     maintainers = [ lib.maintainers.sikmir ];
     32     mainProgram = "hittekaart";
     33   };
     34 })