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

33 lines
773 B
Nix
Raw Normal View History

2018-06-03 09:03:37 +00:00
{ lib, python3Packages, fetchurl, git }:
2014-08-08 20:07:08 +00:00
2018-06-03 09:03:37 +00:00
python3Packages.buildPythonApplication rec {
2014-10-31 13:19:33 +00:00
name = "nox-${version}";
2017-09-16 18:14:34 +00:00
version = "0.0.6";
2014-08-08 20:07:08 +00: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 18:14:34 +00:00
sha256 = "1qcbhdnhdhhv7q6cqdgv0q55ic8fk18526zn2yb12x9r1s0lfp9z";
2014-08-08 20:07:08 +00:00
};
patches = [ ./nox-review-wip.patch ];
2018-06-03 09:03:37 +00:00
buildInputs = [ python3Packages.pbr git ];
2014-08-08 20:07:08 +00:00
2018-06-03 09:03:37 +00:00
propagatedBuildInputs = with python3Packages; [
dogpile-cache
2014-09-24 11:58:41 +00:00
click
requests
2014-09-24 11:58:41 +00:00
characteristic
setuptools
2014-08-08 20:07:08 +00:00
];
meta = {
homepage = "https://github.com/madjar/nox";
2014-08-08 20:07:08 +00:00
description = "Tools to make nix nicer to use";
maintainers = [ lib.maintainers.madjar ];
license = lib.licenses.mit;
2014-08-08 20:07:08 +00:00
platforms = lib.platforms.all;
};
}