mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
2c931312ce
+ use fetchFromGithub where possible
28 lines
565 B
Nix
28 lines
565 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, requests
|
|
, webob
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "hawkauthlib";
|
|
version = "0.1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mozilla-services";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
sha256 = "0mr1mpx4j9q7sch9arwfvpysnpf2p7ijy7072wilxm8pnj0bwvsi";
|
|
};
|
|
|
|
propagatedBuildInputs = [ requests webob ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://github.com/mozilla-services/hawkauthlib";
|
|
description = "Hawk Access Authentication protocol";
|
|
license = licenses.mpl20;
|
|
};
|
|
|
|
}
|