{ 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 = "1w1b2g44lj6nbs7f2j5dz5pijhfah3fyldspfb34zcv17j2nlv0b"; 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; }; }