forked from jan-leila/nix-config
		
	
		
			
				
	
	
		
			48 lines
		
	
	
	
		
			925 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			48 lines
		
	
	
	
		
			925 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{
 | 
						|
  lib,
 | 
						|
  fetchPypi,
 | 
						|
  buildPythonPackage,
 | 
						|
  setuptools,
 | 
						|
  wheel,
 | 
						|
  typing-extensions,
 | 
						|
  ...
 | 
						|
}: let
 | 
						|
  pname = "pygeoif";
 | 
						|
  version = "1.5.1";
 | 
						|
in
 | 
						|
  buildPythonPackage {
 | 
						|
    inherit pname version;
 | 
						|
 | 
						|
    pyproject = true;
 | 
						|
 | 
						|
    src = fetchPypi {
 | 
						|
      inherit pname version;
 | 
						|
      hash = "sha256-8nprah7Lh66swrUbzFnKeb5w7RKgEE3oYBR4shPdXYE=";
 | 
						|
    };
 | 
						|
 | 
						|
    build-system = [
 | 
						|
      setuptools
 | 
						|
      wheel
 | 
						|
    ];
 | 
						|
 | 
						|
    dependencies = [
 | 
						|
      typing-extensions
 | 
						|
    ];
 | 
						|
 | 
						|
    # Skip tests as they may require specific setup
 | 
						|
    doCheck = false;
 | 
						|
 | 
						|
    # Disable runtime dependencies check
 | 
						|
    dontCheckRuntimeDeps = true;
 | 
						|
 | 
						|
    # Basic imports check
 | 
						|
    pythonImportsCheck = ["pygeoif"];
 | 
						|
 | 
						|
    meta = with lib; {
 | 
						|
      description = "A basic implementation of the __geo_interface__";
 | 
						|
      homepage = "https://github.com/cleder/pygeoif";
 | 
						|
      license = licenses.lgpl21Plus;
 | 
						|
      maintainers = [];
 | 
						|
      platforms = platforms.all;
 | 
						|
    };
 | 
						|
  }
 |