nixpkgs-suyu/pkgs/tools/package-management/nox/default.nix
Frederik Rietdijk 3e0fab3864 nox: use propagatedBuildInputs instead of pythonPath, fixes #9633
This way, when accessing Nox via Python, the dependencies will be
available.
2015-09-03 12:51:47 +02:00

28 lines
691 B
Nix

{ lib, pythonPackages, fetchurl }:
pythonPackages.buildPythonPackage rec {
name = "nox-${version}";
version = "0.0.2";
namePrefix = "";
src = fetchurl {
url = "https://pypi.python.org/packages/source/n/nix-nox/nix-nox-${version}.tar.gz";
sha256 = "1wpxh5fhj8nx4yx4cvmc087cnf4iqwxf7zd7rdh2ln3pgxrjfral";
};
buildInputs = [ pythonPackages.pbr ];
propagatedBuildInputs = with pythonPackages; [
dogpile_cache
click
requests2
characteristic
];
meta = {
homepage = https://github.com/madjar/nox;
description = "Tools to make nix nicer to use";
maintainers = [ lib.maintainers.madjar ];
platforms = lib.platforms.all;
};
}