Merge pull request #3497 from madjar/nox

Nox: added expression
This commit is contained in:
lethalman 2014-08-09 12:33:17 +02:00
commit 7d246d569a
3 changed files with 70 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ 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;
};
}

View File

@ -1656,6 +1656,11 @@ let
notbit = callPackage ../applications/networking/notbit { };
nox = callPackage ../tools/package-management/nox {
pythonPackages = python3Packages;
nix = nixUnstable;
};
nss_pam_ldapd = callPackage ../tools/networking/nss-pam-ldapd {};
ntfs3g = callPackage ../tools/filesystems/ntfs-3g { };

View File

@ -1753,6 +1753,42 @@ rec {
};
};
dogpile_cache = buildPythonPackage rec {
name = "dogpile.cache-0.5.4";
propagatedBuildInputs = [ dogpile_core ];
src = fetchurl {
url = "https://pypi.python.org/packages/source/d/dogpile.cache/dogpile.cache-0.5.4.tar.gz";
md5 = "513b77ba1bd0c31bb15dd9dd0d8471af";
};
doCheck = false;
meta = {
description = "A caching front-end based on the Dogpile lock.";
homepage = http://bitbucket.org/zzzeek/dogpile.cache;
license = licenses.bsd3;
};
};
dogpile_core = buildPythonPackage rec {
name = "dogpile.core-0.4.1";
src = fetchurl {
url = "https://pypi.python.org/packages/source/d/dogpile.core/dogpile.core-0.4.1.tar.gz";
md5 = "01cb19f52bba3e95c9b560f39341f045";
};
doCheck = false;
meta = {
description = "A 'dogpile' lock, typically used as a component of a larger caching solution";
homepage = http://bitbucket.org/zzzeek/dogpile.core;
license = licenses.bsd3;
};
};
dpkt = buildPythonPackage rec {
name = "dpkt-1.8";