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

32 lines
817 B
Nix
Raw Normal View History

2014-08-09 00:07:08 +04:00
{ lib, pythonPackages, git, fetchgit, makeWrapper, nix }:
pythonPackages.buildPythonPackage rec {
name = "nox-0.0.1";
namePrefix = "";
src = fetchgit {
url = "git://github.com/madjar/nox.git";
2014-09-24 15:58:41 +04:00
rev = "088249aa766c9fa929aa08a60f1a7eb41008da40";
sha256 = "0dscnmhm1va2h0jz7hh60nvjwxv5a92n5pp8c0g7hz76g67mi5xs";
2014-08-09 00:07:08 +04:00
leaveDotGit = true; # required by pbr
};
buildInputs = [ git pythonPackages.pbr makeWrapper ];
2014-09-24 15:58:41 +04:00
pythonPath = with pythonPackages; [
dogpile_cache
click
requests2
characteristic
2014-08-09 00:07:08 +04: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;
};
}