nixpkgs/pkgs/tools/package-management/nox/default.nix

32 lines
754 B
Nix
Raw Normal View History

2018-06-03 10:03:37 +01:00
{ lib, python3Packages, fetchurl, git }:
2014-08-08 21:07:08 +01:00
2018-06-03 10:03:37 +01:00
python3Packages.buildPythonApplication rec {
2014-10-31 13:19:33 +00:00
name = "nox-${version}";
2017-09-16 19:14:34 +01:00
version = "0.0.6";
2014-08-08 21:07:08 +01:00
namePrefix = "";
2014-10-31 13:19:33 +00:00
src = fetchurl {
url = "mirror://pypi/n/nix-nox/nix-nox-${version}.tar.gz";
2017-09-16 19:14:34 +01:00
sha256 = "1qcbhdnhdhhv7q6cqdgv0q55ic8fk18526zn2yb12x9r1s0lfp9z";
2014-08-08 21:07:08 +01:00
};
patches = [ ./nox-review-wip.patch ];
2018-06-03 10:03:37 +01:00
buildInputs = [ python3Packages.pbr git ];
2014-08-08 21:07:08 +01:00
2018-06-03 10:03:37 +01:00
propagatedBuildInputs = with python3Packages; [
2014-09-24 12:58:41 +01:00
dogpile_cache
click
requests
2014-09-24 12:58:41 +01:00
characteristic
2014-08-08 21:07:08 +01:00
];
meta = {
homepage = https://github.com/madjar/nox;
description = "Tools to make nix nicer to use";
maintainers = [ lib.maintainers.madjar ];
license = lib.licenses.mit;
2014-08-08 21:07:08 +01:00
platforms = lib.platforms.all;
};
}