2014-10-31 14:19:33 +01:00
|
|
|
{ lib, pythonPackages, fetchurl, makeWrapper, nix }:
|
2014-08-08 22:07:08 +02:00
|
|
|
|
|
|
|
pythonPackages.buildPythonPackage rec {
|
2014-10-31 14:19:33 +01:00
|
|
|
name = "nox-${version}";
|
|
|
|
version = "0.0.1";
|
2014-08-08 22:07:08 +02:00
|
|
|
namePrefix = "";
|
|
|
|
|
2014-10-31 14:19:33 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://pypi.python.org/packages/source/n/nix-nox/nix-nox-${version}.tar.gz";
|
|
|
|
sha256 = "1s1jhickdhym70qrb5h4qxq1mvkpwgdppqpfb2jnpfaf1az6c207";
|
2014-08-08 22:07:08 +02:00
|
|
|
};
|
|
|
|
|
2014-10-31 14:19:33 +01:00
|
|
|
buildInputs = [ pythonPackages.pbr makeWrapper ];
|
2014-08-08 22:07:08 +02:00
|
|
|
|
2014-09-24 13:58:41 +02:00
|
|
|
pythonPath = with pythonPackages; [
|
|
|
|
dogpile_cache
|
|
|
|
click
|
|
|
|
requests2
|
|
|
|
characteristic
|
2014-08-08 22:07:08 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|