mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-22 05:19:00 +02:00
nextinspace: 1.0.6 -> 2.0.3
This commit is contained in:
parent
5f406972a5
commit
b9c6bff4f0
|
@ -1,24 +1,44 @@
|
|||
{ lib, fetchPypi, python3Packages }:
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, python3
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonPackage rec {
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "nextinspace";
|
||||
version = "1.0.6";
|
||||
version = "2.0.3";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1h3dksxyy5gq071fa7i2p73s50918y1bkk38hgfwr4226c3wipvg";
|
||||
src = fetchFromGitHub {
|
||||
owner = "not-stirred";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Macx2pQglB95Bhc939TFVCHd1qvqJsco91EXKCIQLgg=";
|
||||
};
|
||||
|
||||
pythonPath = with python3Packages; [
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
pythonPath = with python3.pkgs; [
|
||||
requests
|
||||
tzlocal
|
||||
colorama
|
||||
];
|
||||
|
||||
checkInputs = with python3.pkgs; [
|
||||
pytest-lazy-fixture
|
||||
pytestCheckHook
|
||||
requests-mock
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"nextinspace"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Print upcoming space-related events in your terminal";
|
||||
homepage = "https://github.com/The-Kid-Gid/nextinspace";
|
||||
license = licenses.gpl3;
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ penguwin ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue