nur-packages

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

default.nix (616B)


      1 {
      2   lib,
      3   fetchFromGitHub,
      4   python3Packages,
      5 }:
      6 
      7 python3Packages.buildPythonPackage rec {
      8   pname = "portolan";
      9   version = "1.0.1";
     10 
     11   src = fetchFromGitHub {
     12     owner = "fitnr";
     13     repo = "portolan";
     14     rev = "v${version}";
     15     hash = "sha256-zKloFO7uCLkqgayxC11JRfMpNxIR+UkT/Xabb9AH8To=";
     16   };
     17 
     18   build-system = with python3Packages; [ setuptools ];
     19 
     20   pythonImportsCheck = [ "portolan" ];
     21 
     22   meta = {
     23     description = "Convert between compass points and degrees";
     24     homepage = "https://github.com/fitnr/portolan";
     25     license = lib.licenses.gpl3Only;
     26     maintainers = [ lib.maintainers.sikmir ];
     27   };
     28 }