nixpkgs-suyu/pkgs/tools/package-management/nox/default.nix
2014-10-31 14:19:33 +01:00

30 lines
782 B
Nix

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