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