2021-01-25 00:26:54 -08:00
|
|
|
{ lib
|
2018-10-16 15:23:51 -07:00
|
|
|
, buildPythonPackage
|
2018-12-25 09:50:41 -08:00
|
|
|
, fetchFromGitHub
|
2018-10-16 15:23:51 -07:00
|
|
|
, pyramid
|
|
|
|
, simplejson
|
|
|
|
, konfig
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mozsvc";
|
2018-12-25 09:50:41 -08:00
|
|
|
version = "0.10";
|
2018-10-16 15:23:51 -07:00
|
|
|
|
2018-12-25 09:50:41 -08:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mozilla-services";
|
|
|
|
repo = "mozservices";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0a0558g8j55pd1nnhnnf3k377jv6cah8lxb24v98rq8kxr5960cg";
|
2018-10-16 15:23:51 -07:00
|
|
|
};
|
|
|
|
|
2018-12-25 09:50:41 -08:00
|
|
|
doCheck = false; # too many dependencies and conflicting versions; I (nadrieril) gave up
|
2018-10-16 15:23:51 -07:00
|
|
|
propagatedBuildInputs = [ pyramid simplejson konfig ];
|
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/mozilla-services/mozservices";
|
2018-10-16 15:23:51 -07:00
|
|
|
description = "Various utilities for Mozilla apps";
|
|
|
|
license = licenses.mpl20;
|
2018-12-25 09:50:41 -08:00
|
|
|
maintainers = with maintainers; [ nadrieril ];
|
2018-10-16 15:23:51 -07:00
|
|
|
};
|
|
|
|
}
|