nur-packages

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

default.nix (655B)


      1 { lib, fetchFromGitHub, python3Packages }:
      2 
      3 python3Packages.buildPythonPackage rec {
      4   pname = "mikatools";
      5   version = "1.0.0";
      6 
      7   src = fetchFromGitHub {
      8     owner = "mikahama";
      9     repo = pname;
     10     rev = version;
     11     hash = "sha256-CfukGTPT0Yv4Q2H+g7XJfNgNchhslaA7/mgupqlOQ+o=";
     12   };
     13 
     14   propagatedBuildInputs = with python3Packages; [ requests clint cryptography ];
     15 
     16   checkInputs = with python3Packages; [ pytestCheckHook ];
     17 
     18   meta = with lib; {
     19     description = "Mikatools provides fast and easy methods for common Python coding tasks";
     20     inherit (src.meta) homepage;
     21     license = licenses.mit;
     22     maintainers = [ maintainers.sikmir ];
     23   };
     24 }