nur-packages

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

default.nix (754B)


      1 {
      2   lib,
      3   python3Packages,
      4   fetchFromGitHub,
      5 }:
      6 
      7 python3Packages.buildPythonPackage {
      8   pname = "pyrobuf";
      9   version = "0.9.3";
     10 
     11   src = fetchFromGitHub {
     12     owner = "appnexus";
     13     repo = "pyrobuf";
     14     rev = "811a9325eed1c0070ceb424020fe81eeef317e0c";
     15     hash = "sha256-7NEzRM9B/9f5ODNzDKws7t/9gqbJK7T9AuET+pT26P0=";
     16   };
     17 
     18   nativeBuildInputs = with python3Packages; [
     19     cython
     20     pytest-runner
     21   ];
     22 
     23   dependencies = with python3Packages; [ jinja2 ];
     24 
     25   nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
     26 
     27   doCheck = false;
     28 
     29   meta = {
     30     description = "A Cython based protobuf compiler";
     31     homepage = "https://github.com/appnexus/pyrobuf";
     32     license = lib.licenses.asl20;
     33     maintainers = [ lib.maintainers.sikmir ];
     34   };
     35 }