567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
36 lines
677 B
Nix
36 lines
677 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
httpie,
|
|
requests-ntlm,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "httpie-ntlm";
|
|
version = "1.0.2";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "b1f757180c0bd60741ea16cf91fc53d47df402a5c287c4a61a14b335ea0552b3";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
httpie
|
|
requests-ntlm
|
|
];
|
|
|
|
# Package have no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "httpie_ntlm" ];
|
|
|
|
meta = {
|
|
description = "NTLM auth plugin for HTTPie";
|
|
homepage = "https://github.com/httpie/httpie-ntlm";
|
|
license = lib.licenses.bsdOriginal;
|
|
maintainers = with lib.maintainers; [ kfollesdal ];
|
|
};
|
|
}
|