nixpkgs/pkgs/tools/package-management/nox/default.nix
Frederik Rietdijk d5e6a4494a Python: use PyPI mirror (#15001)
* mirrors: add pypi

* Python: Use pypi mirror for all PyPI packages
2016-04-26 13:38:03 +01:00

29 lines
669 B
Nix

{ lib, pythonPackages, fetchurl }:
pythonPackages.buildPythonApplication rec {
name = "nox-${version}";
version = "0.0.2";
namePrefix = "";
src = fetchurl {
url = "mirror://pypi/n/nix-nox/nix-nox-${version}.tar.gz";
sha256 = "1wpxh5fhj8nx4yx4cvmc087cnf4iqwxf7zd7rdh2ln3pgxrjfral";
};
buildInputs = [ pythonPackages.pbr ];
propagatedBuildInputs = with pythonPackages; [
dogpile_cache
click
requests2
characteristic
];
meta = {
homepage = https://github.com/madjar/nox;
description = "Tools to make nix nicer to use";
maintainers = [ lib.maintainers.madjar ];
platforms = lib.platforms.all;
};
}