cbeams: migrate to pkgs/by-name, modernize

This commit is contained in:
Sigmanificient 2024-08-20 23:50:08 +02:00
parent 0305bd8600
commit e414edaa0d
2 changed files with 4 additions and 6 deletions

View File

@ -1,9 +1,9 @@
{ lib, buildPythonApplication, fetchPypi, isPy3k, blessed, docopt }:
{ lib, python3Packages, fetchPypi }:
buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
pname = "cbeams";
version = "1.0.3";
disabled = !isPy3k;
disabled = !python3Packages.isPy3k;
src = fetchPypi {
inherit pname version;
@ -15,7 +15,7 @@ buildPythonApplication rec {
--replace-fail "blessings" "blessed"
'';
propagatedBuildInputs = [ blessed docopt ];
propagatedBuildInputs = with python3Packages; [ blessed docopt ];
meta = with lib; {
homepage = "https://github.com/tartley/cbeams";

View File

@ -2027,8 +2027,6 @@ self: super: with self; {
cattrs = callPackage ../development/python-modules/cattrs { };
cbeams = callPackage ../misc/cbeams { };
cbor2 = callPackage ../development/python-modules/cbor2 { };
cbor = callPackage ../development/python-modules/cbor { };