nur-packages

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

default.nix (648B)


      1 {
      2   lib,
      3   python3Packages,
      4   fetchFromGitHub,
      5 }:
      6 
      7 python3Packages.buildPythonApplication rec {
      8   pname = "pnoise";
      9   version = "0.2.0";
     10 
     11   src = fetchFromGitHub {
     12     owner = "plottertools";
     13     repo = "pnoise";
     14     rev = version;
     15     hash = "sha256-JwWzLvgCNSLRs/ToZNFH6fN6VLEsQTmsgxxkugwjA9k=";
     16   };
     17 
     18   dependencies = with python3Packages; [ numpy ];
     19 
     20   nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
     21 
     22   meta = {
     23     description = "Vectorized port of Processing noise() function";
     24     homepage = "https://github.com/plottertools/pnoise";
     25     license = lib.licenses.lgpl2Plus;
     26     maintainers = [ lib.maintainers.sikmir ];
     27   };
     28 }