nur-packages

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

default.nix (688B)


      1 {
      2   lib,
      3   fetchFromGitHub,
      4   python3Packages,
      5 }:
      6 
      7 python3Packages.buildPythonPackage rec {
      8   pname = "pyspartn";
      9   version = "1.0.4";
     10   pyproject = true;
     11 
     12   src = fetchFromGitHub {
     13     owner = "semuconsulting";
     14     repo = "pyspartn";
     15     rev = "v${version}";
     16     hash = "sha256-BPvnwz1EyyFHIBr1z9NVpQeYyHw9VTjappx6k0ZMakk=";
     17   };
     18 
     19   build-system = with python3Packages; [ setuptools ];
     20 
     21   dependencies = with python3Packages; [ cryptography ];
     22 
     23   pythonImportsCheck = [ "pyspartn" ];
     24 
     25   meta = {
     26     description = "SPARTN protocol parser";
     27     homepage = "https://github.com/semuconsulting/pyspartn";
     28     license = lib.licenses.bsd3;
     29     maintainers = [ lib.maintainers.sikmir ];
     30   };
     31 }