nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

package.nix (855B)


      1 {
      2   lib,
      3   fetchFromGitHub,
      4   python3Packages,
      5 }:
      6 
      7 python3Packages.buildPythonApplication (finalAttrs: {
      8   pname = "mysql-to-sqlite3";
      9   version = "2.5.5";
     10   pyproject = true;
     11 
     12   src = fetchFromGitHub {
     13     owner = "techouse";
     14     repo = "mysql-to-sqlite3";
     15     tag = "v${finalAttrs.version}";
     16     hash = "sha256-UxoPv6deWfsK5C6Y7+ecTOvPy+RPljFhatxDLP5eKq4=";
     17   };
     18 
     19   build-system = with python3Packages; [ hatchling ];
     20 
     21   dependencies = with python3Packages; [
     22     click
     23     mysql-connector
     24     python-slugify
     25     pytimeparse2
     26     simplejson
     27     sqlglot
     28     tabulate
     29     tqdm
     30     typing-extensions
     31   ];
     32 
     33   meta = {
     34     description = "Transfer data from MySQL to SQLite";
     35     homepage = "https://github.com/techouse/mysql-to-sqlite3";
     36     license = lib.licenses.mit;
     37     maintainers = [ lib.maintainers.sikmir ];
     38     mainProgram = "mysql2sqlite";
     39   };
     40 })