Permalink
Browse files

httpstat: fix it

  • Loading branch information...
FRidh committed Oct 17, 2016
1 parent 7899cca commit 0f5d0f7cda6ed6b3cb2a13d753cdf315d715c7ba
Showing with 5 additions and 11 deletions.
  1. +5 −11 pkgs/tools/networking/httpstat/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, curl, python, pythonPackages, ... }:
{ stdenv, fetchFromGitHub, curl, pythonPackages, glibcLocales }:
pythonPackages.buildPythonPackage rec {
pythonPackages.buildPythonApplication rec {
name = "${pname}-${version}";
pname = "httpstat";
version = "1.2.0";
@@ -10,17 +10,11 @@ pythonPackages.buildPythonPackage rec {
rev = "${version}";
sha256 = "1zfbv3fz3g3wwvsgrcyrk2cp7pjhkpf7lmx57ry9b43c62gcd7yh";
};
doCheck = false;
propagatedBuildInputs = [ ];
doCheck = false; # No tests
buildInputs = [ glibcLocales ];
runtimeDeps = [ curl ];
installPhase = ''
mkdir -p $out/${python.sitePackages}/
cp httpstat.py $out/${python.sitePackages}/
mkdir -p $out/bin
ln -s $out/${python.sitePackages}/httpstat.py $out/bin/httpstat
chmod +x $out/bin/httpstat
'';
LC_ALL = "en_US.UTF-8";
meta = {
description = "curl statistics made simple";

0 comments on commit 0f5d0f7

Please sign in to comment.