summary refs log tree commit diff
path: root/pkgs/tools/package-management/nox/default.nix
blob: c949b443e363c06cfd0af92c7f204caa4cae1989 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ lib, python3Packages, fetchurl, git }:

python3Packages.buildPythonApplication rec {
  name = "nox-${version}";
  version = "0.0.6";
  namePrefix = "";

  src = fetchurl {
    url = "mirror://pypi/n/nix-nox/nix-nox-${version}.tar.gz";
    sha256 = "1qcbhdnhdhhv7q6cqdgv0q55ic8fk18526zn2yb12x9r1s0lfp9z";
  };

  patches = [ ./nox-review-wip.patch ];

  buildInputs = [ python3Packages.pbr git ];

  propagatedBuildInputs = with python3Packages; [
      dogpile-cache
      click
      requests
      characteristic
      setuptools
    ];

  meta = {
    homepage = "https://github.com/madjar/nox";
    description = "Tools to make nix nicer to use";
    maintainers = [ lib.maintainers.madjar ];
    license = lib.licenses.mit;
    platforms = lib.platforms.all;
  };
}