nur-packages

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

default.nix (731B)


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