nox: use pypi for distribution
This commit is contained in:
parent
1b68c7b134
commit
d8f5d246e6
@ -1,17 +1,16 @@
|
|||||||
{ lib, pythonPackages, git, fetchgit, makeWrapper, nix }:
|
{ lib, pythonPackages, fetchurl, makeWrapper, nix }:
|
||||||
|
|
||||||
pythonPackages.buildPythonPackage rec {
|
pythonPackages.buildPythonPackage rec {
|
||||||
name = "nox-0.0.1";
|
name = "nox-${version}";
|
||||||
|
version = "0.0.1";
|
||||||
namePrefix = "";
|
namePrefix = "";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchurl {
|
||||||
url = "git://github.com/madjar/nox.git";
|
url = "https://pypi.python.org/packages/source/n/nix-nox/nix-nox-${version}.tar.gz";
|
||||||
rev = "e5a4dbe5d11c3258e3038b4ae6f49d53f02d76cd";
|
sha256 = "1s1jhickdhym70qrb5h4qxq1mvkpwgdppqpfb2jnpfaf1az6c207";
|
||||||
sha256 = "25d0ae9eeb6387bb45cbda8da08760ffef6a1661ebd106c537b468c93e66c035";
|
|
||||||
leaveDotGit = true; # required by pbr
|
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ git pythonPackages.pbr makeWrapper ];
|
buildInputs = [ pythonPackages.pbr makeWrapper ];
|
||||||
|
|
||||||
pythonPath = with pythonPackages; [
|
pythonPath = with pythonPackages; [
|
||||||
dogpile_cache
|
dogpile_cache
|
||||||
|
Loading…
x
Reference in New Issue
Block a user