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

33 lines
773 B
Nix
Raw Normal View History

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