nur-packages

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

package.nix (906B)


      1 {
      2   lib,
      3   fetchFromGitHub,
      4   python3Packages,
      5 }:
      6 
      7 python3Packages.buildPythonPackage {
      8   pname = "westra-passes";
      9   version = "0-unstable-2025-10-09";
     10   pyproject = true;
     11 
     12   src = fetchFromGitHub {
     13     owner = "wladich";
     14     repo = "westra_passes_for_nakarte";
     15     rev = "fd1cadb5a897a8e914aec2d66eb65ffc038a622c";
     16     hash = "sha256-59bxRZnuaOOOtolvZSTsOftZFw2X1Jk/u85Tq2uZG3M=";
     17   };
     18 
     19   build-system = with python3Packages; [ setuptools ];
     20 
     21   dependencies = with python3Packages; [
     22     shapely
     23     numpy
     24     scipy
     25     odfpy
     26   ];
     27 
     28   nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
     29 
     30   postInstall = ''
     31     mkdir -p $out/share
     32     cp -r data $out/share/westra-passes
     33   '';
     34 
     35   meta = {
     36     description = "Mountain passes for nakarte";
     37     homepage = "https://github.com/wladich/westra_passes_for_nakarte";
     38     license = lib.licenses.free;
     39     maintainers = [ lib.maintainers.sikmir ];
     40   };
     41 }