nur-packages

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

default.nix (636B)


      1 {
      2   lib,
      3   python3Packages,
      4   fetchFromGitHub,
      5 }:
      6 
      7 python3Packages.buildPythonPackage rec {
      8   pname = "smopy";
      9   version = "0.0.6";
     10 
     11   src = fetchFromGitHub {
     12     owner = "rossant";
     13     repo = "smopy";
     14     rev = "v${version}";
     15     hash = "sha256-QytanQQPIlQTog2tTMAwdFXWbXnU4NaA7Zqh4DXFubY=";
     16   };
     17 
     18   dependencies = with python3Packages; [
     19     numpy
     20     ipython
     21     pillow
     22     matplotlib
     23   ];
     24 
     25   pythonImportsCheck = [ "smopy" ];
     26 
     27   meta = {
     28     description = "OpenStreetMap image tiles in Python";
     29     homepage = "https://github.com/rossant/smopy";
     30     license = lib.licenses.bsd3;
     31     maintainers = [ lib.maintainers.sikmir ];
     32   };
     33 }