nur-packages

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

default.nix (732B)


      1 {
      2   lib,
      3   fetchFromGitHub,
      4   python3Packages,
      5 }:
      6 
      7 python3Packages.buildPythonPackage (finalAttrs: {
      8   pname = "binapy";
      9   version = "0.8.0";
     10   pyproject = true;
     11 
     12   src = fetchFromGitHub {
     13     owner = "guillp";
     14     repo = "binapy";
     15     tag = "v${finalAttrs.version}";
     16     hash = "sha256-WaRf2bj8MjbAfPRLwXtFk7fMoCNoYBdBtcaLnTJQjLI=";
     17   };
     18 
     19   build-system = with python3Packages; [ poetry-core ];
     20 
     21   dependencies = with python3Packages; [ typing-extensions ];
     22 
     23   nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
     24 
     25   meta = {
     26     description = "Binary Data manipulation, for humans";
     27     homepage = "https://github.com/guillp/binapy";
     28     license = lib.licenses.mit;
     29     maintainers = [ lib.maintainers.sikmir ];
     30   };
     31 })