3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/package-management/nox/default.nix
2014-08-09 12:30:38 +02:00

30 lines
787 B
Nix

{ lib, pythonPackages, git, fetchgit, makeWrapper, nix }:
pythonPackages.buildPythonPackage rec {
name = "nox-0.0.1";
namePrefix = "";
src = fetchgit {
url = "git://github.com/madjar/nox.git";
rev = "49e4bb7de473ac5e446a76c292bdaefa7e20a1c6";
sha256 = "0z97anjhvf8qlyq73h3008np7qh1jvv3kafyxhcbjmi1hpimndyy";
leaveDotGit = true; # required by pbr
};
buildInputs = [ git pythonPackages.pbr makeWrapper ];
pythonPath =
[ pythonPackages.dogpile_cache
pythonPackages.click
];
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;
};
}