nur-packages

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

default.nix (569B)


      1 {
      2   lib,
      3   python3Packages,
      4   fetchFromGitHub,
      5 }:
      6 
      7 python3Packages.buildPythonPackage rec {
      8   pname = "modbus_tk";
      9   version = "1.1.1";
     10 
     11   src = fetchFromGitHub {
     12     owner = "ljean";
     13     repo = "modbus-tk";
     14     rev = version;
     15     hash = "sha256-zikfVMFdlOJvuKVQGEsK03i58X6BGFsGWGrGOJZGC0g=";
     16   };
     17 
     18   dependencies = with python3Packages; [ pyserial ];
     19 
     20   meta = {
     21     description = "Implementation of modbus protocol in python";
     22     homepage = "https://github.com/ljean/modbus-tk";
     23     license = lib.licenses.lgpl2;
     24     maintainers = [ lib.maintainers.sikmir ];
     25   };
     26 }