nur-packages

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

default.nix (802B)


      1 {
      2   lib,
      3   python3Packages,
      4   fetchFromGitHub,
      5 }:
      6 
      7 python3Packages.buildPythonPackage rec {
      8   pname = "overpassforge";
      9   version = "0.4.3";
     10   pyproject = true;
     11 
     12   src = fetchFromGitHub {
     13     owner = "Krafpy";
     14     repo = "Overpass-Forge";
     15     rev = version;
     16     hash = "sha256-HtP1aSIf6iOyZDhDF/kDps1hMgKHKOAlPjYwOQSeXjE=";
     17   };
     18 
     19   build-system = with python3Packages; [ setuptools-scm ];
     20 
     21   SETUPTOOLS_SCM_PRETEND_VERSION = version;
     22 
     23   nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
     24 
     25   pythonImportsCheck = [ "overpassforge" ];
     26 
     27   meta = {
     28     description = "A library for generating OpenStreetMap's Overpass QL queries from Python objects";
     29     homepage = "https://github.com/Krafpy/Overpass-Forge";
     30     license = lib.licenses.mit;
     31     maintainers = [ lib.maintainers.sikmir ];
     32   };
     33 }