nur-packages

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

default.nix (730B)


      1 {
      2   lib,
      3   python3Packages,
      4   fetchFromGitHub,
      5 }:
      6 
      7 python3Packages.buildPythonPackage rec {
      8   pname = "pipfile";
      9   version = "0.0.2";
     10   pyproject = true;
     11 
     12   src = fetchFromGitHub {
     13     owner = "pypa";
     14     repo = "pipfile";
     15     tag = "v${version}";
     16     hash = "sha256-GsDhxnvBvjJGQWk25cS9+HqLQ9YVSxujeX2iGivYl6Q=";
     17   };
     18 
     19   build-system = with python3Packages; [ setuptools ];
     20 
     21   dependencies = with python3Packages; [ toml ];
     22 
     23   doCheck = false;
     24   pythonImportsCheck = [ "pipfile" ];
     25 
     26   meta = {
     27     description = "Pipfile: the replacement for requirements.txt";
     28     homepage = "https://github.com/pypa/pipfile";
     29     license = with lib.licenses; [
     30       asl20
     31       bsd2
     32     ];
     33     maintainers = [ lib.maintainers.sikmir ];
     34   };
     35 }