segno: init at 1.4.1

This commit is contained in:
Gabriel Arazas 2022-02-02 12:49:34 +08:00
parent 1f40c0f0ad
commit ed2d05974f
2 changed files with 24 additions and 0 deletions

View File

@ -55,6 +55,7 @@ let
callPackage ./pop-launcher-plugin-duckduckgo-bangs.nix { };
rnote = callPackage ./rnote.nix { };
tic-80 = callPackage ./tic-80 { };
segno = libsForQt5.callPackage ./segno.nix { };
sioyek = libsForQt5.callPackage ./sioyek.nix { };
vpaint = libsForQt5.callPackage ./vpaint.nix { };
};

23
pkgs/segno.nix Normal file
View File

@ -0,0 +1,23 @@
{ lib, python3, fetchFromGitHub }:
with python3.pkgs;
buildPythonPackage rec {
pname = "segno";
version = "1.4.1";
src = fetchFromGitHub {
owner = "heuer";
repo = pname;
rev = version;
sha256 = "sha256-o83HmB4vGDP0P2Ep1eyO5QX8ihnW497ufRxiEEaG+hE=";
};
# TODO: Package the Python package for testing.
doCheck = false;
meta = with lib; {
description = "Encode QR codes without dependencies (except Python).";
homepage = "https://github.com/heuer/segno";
license = licenses.bsd3;
};
}