3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #193284 from m0rg-dev/pysolfc-2.16.0

pysolfc: 2.6.4 -> 2.16.0

Closes #190799
This commit is contained in:
Mario Rodas 2022-10-23 18:34:23 -05:00 committed by GitHub
commit bdb2cf6de3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 55 additions and 5 deletions

View file

@ -9445,6 +9445,12 @@
githubId = 772914;
name = "Mikael Voss";
};
mwolfe = {
email = "corp@m0rg.dev";
github = "m0rg-dev";
githubId = 38578268;
name = "Morgan Wolfe";
};
maxwilson = {
email = "nixpkgs@maxwilson.dev";
github = "mwilsoncoding";

View file

@ -0,0 +1,18 @@
{ lib, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "pycotap";
version = "1.2.2";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-+Tjs1JMczRnZWY+2M9Xqu3k48IuEcXMV5SUmqmJ3yew=";
};
meta = with lib; {
description = "Test runner for unittest that outputs TAP results to stdout";
homepage = "https://el-tramo.be/pycotap";
license = licenses.mit;
maintainers = with maintainers; [ mwolfe ];
};
}

View file

@ -0,0 +1,21 @@
{ lib, buildPythonPackage, fetchPypi, six, random2 }:
buildPythonPackage rec {
pname = "pysol-cards";
version = "0.14.2";
src = fetchPypi {
inherit version;
pname = "pysol_cards";
sha256 = "sha256-wI3oV1d7w+7JcMOt08RbNlMWzChErNYIO7Vuox1A6vA=";
};
propagatedBuildInputs = [ six random2 ];
meta = with lib; {
description = "Generates Solitaire deals";
homepage = "https://github.com/shlomif/pysol_cards";
license = licenses.mit;
maintainers = with maintainers; [ mwolfe ];
};
}

View file

@ -3,20 +3,21 @@
buildPythonApplication rec {
pname = "PySolFC";
version = "2.6.4";
version = "2.16.0";
src = fetchzip {
url = "https://versaweb.dl.sourceforge.net/project/pysolfc/PySolFC/PySolFC-${version}/PySolFC-${version}.tar.xz";
sha256 = "1bd84law5b1yga3pryggdvlfvm0l62gci2q8y3q79cysdk3z4w3z";
sha256 = "sha256-kklB16IrDicxqMee1kbxtoqgwcSrMjCV4HP6GtnZxo8=";
};
cardsets = fetchzip {
url = "https://versaweb.dl.sourceforge.net/project/pysolfc/PySolFC-Cardsets/PySolFC-Cardsets-2.0/PySolFC-Cardsets-2.0.tar.bz2";
sha256 = "0h0fibjv47j8lkc1bwnlbbvrx2nr3l2hzv717kcgagwhc7v2mrqh";
url = "https://versaweb.dl.sourceforge.net/project/pysolfc/PySolFC-Cardsets/PySolFC-Cardsets-2.1/PySolFC-Cardsets-2.1.tar.bz2";
sha256 = "sha256-0ji6jY7zJFaaaJdInaULKUou+u934RMzYjxVDGVHbE0=";
};
propagatedBuildInputs = with python3Packages; [
tkinter six random2
tkinter six random2 configobj
pysol-cards attrs pycotap
# optional :
pygame freecell-solver pillow
];

View file

@ -7694,6 +7694,8 @@ in {
pycosat = callPackage ../development/python-modules/pycosat { };
pycotap = callPackage ../development/python-modules/pycotap { };
pycountry = callPackage ../development/python-modules/pycountry { };
pycparser = callPackage ../development/python-modules/pycparser { };
@ -8687,6 +8689,8 @@ in {
pysocks = callPackage ../development/python-modules/pysocks { };
pysol-cards = callPackage ../development/python-modules/pysol-cards { };
pysolr = callPackage ../development/python-modules/pysolr { };
pysoma = callPackage ../development/python-modules/pysoma { };