httpstat: fix it
This commit is contained in:
parent
ec6f049c09
commit
727fcd3d2b
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user