Merge pull request #271347 from sontek/upgrade_snowmachine_to_2.0

snowmachine: 1.0.1 -> 2.0.1
This commit is contained in:
Emily Trau 2023-12-02 01:15:34 +11:00 committed by GitHub
commit a69680dd47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 31 additions and 26 deletions

View File

@ -17023,6 +17023,12 @@
githubId = 9720532; githubId = 9720532;
name = "Sergei K"; name = "Sergei K";
}; };
sontek = {
email = "sontek@gmail.com";
github = "sontek";
githubId = 151924;
name = "John Anderson";
};
sophrosyne = { sophrosyne = {
email = "joshuaortiz@tutanota.com"; email = "joshuaortiz@tutanota.com";
github = "sophrosyne97"; github = "sophrosyne97";

View File

@ -1,24 +0,0 @@
{ buildPythonPackage, lib, click, colorama, fetchPypi, setuptools-git }:
buildPythonPackage rec {
pname = "snowmachine";
version = "1.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "1v385hhxy2a8vx5p0fhn0di8l4qfpb0a86j6nwsg0aw6ngb09qf1";
};
buildInputs = [ setuptools-git ];
propagatedBuildInputs = [ click colorama ];
doCheck = false;
pythonImportsCheck = [ "snowmachine" ];
meta = with lib; {
description = "A python script that will make your terminal snow";
homepage = "https://github.com/sontek/snowmachine";
license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ djanatyn ];
};
}

View File

@ -0,0 +1,25 @@
{ python3Packages, lib, fetchPypi }:
python3Packages.buildPythonApplication rec {
pname = "snowmachine";
version = "2.0.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256:119e6da12f430af1519f1a9f091b77b7676c7a9dbeaab6616cb196fe793d8e61";
};
propagatedBuildInputs = with python3Packages; [ click colorama hatchling ];
doCheck = false;
pythonImportsCheck = [ "snowmachine" ];
meta = with lib; {
description = "A python script that will make your terminal snow";
homepage = "https://github.com/sontek/snowmachine";
mainProgram = "snowmachine";
license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ djanatyn sontek ];
};
}

View File

@ -41698,8 +41698,6 @@ with pkgs;
snowsql = callPackage ../applications/misc/snowsql { }; snowsql = callPackage ../applications/misc/snowsql { };
snowmachine = python3Packages.callPackage ../applications/misc/snowmachine { };
sidequest = callPackage ../applications/misc/sidequest { }; sidequest = callPackage ../applications/misc/sidequest { };
maphosts = callPackage ../tools/networking/maphosts { }; maphosts = callPackage ../tools/networking/maphosts { };