mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
f8c4a98e8e
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
30 lines
594 B
Nix
30 lines
594 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
six,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "trueskill";
|
|
version = "0.4.5";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1fv7g1szyjykja9mzax2w4js7jm2z7wwzgnr5dqrsdi84j6v8qlx";
|
|
};
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
# Can't build distribute, see https://github.com/NixOS/nixpkgs/pull/49340
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Video game rating system";
|
|
homepage = "https://trueskill.org";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ eadwu ];
|
|
};
|
|
}
|