Update packages
This commit is contained in:
parent
27b10a2e1b
commit
0a8b68f59f
4 changed files with 31 additions and 27 deletions
12
flake.lock
12
flake.lock
|
@ -325,11 +325,11 @@
|
|||
"mautrix-whatsapp": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1657028488,
|
||||
"narHash": "sha256-tPpvvwaLhN6IwPR+rYol4mj4aQbjMbd2/n6Sbke4+tY=",
|
||||
"lastModified": 1657122510,
|
||||
"narHash": "sha256-m27hD3hk82KFMTQ+wgsG5Aw3XVS6I+n7k+cg3HwbrrQ=",
|
||||
"owner": "mautrix",
|
||||
"repo": "whatsapp",
|
||||
"rev": "2bc5c32d48173e1837c15fd4be698694ffd81627",
|
||||
"rev": "a548fd717462bed82eaf2e7d67fda22c15b3dfb5",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -637,11 +637,11 @@
|
|||
},
|
||||
"nixpkgs_6": {
|
||||
"locked": {
|
||||
"lastModified": 1656835607,
|
||||
"narHash": "sha256-zONMAG6JSfGyW20AsVWGnlZwNWws6Q/7IT0oDNGc1xY=",
|
||||
"lastModified": 1657020478,
|
||||
"narHash": "sha256-sU5hXEGcOcvz2xoPAuNLBQJLXjwvPpTkoddyXE8gw20=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "18b14a254dca6b68ca0ce2ce885ce2b550065799",
|
||||
"rev": "71a4f0dc3d80ba76f437c888c1c3d59f1df98163",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{fetchgit}:
|
||||
fetchgit {
|
||||
url = "https://github.com/mautrix/whatsapp";
|
||||
rev = "2bc5c32d48173e1837c15fd4be698694ffd81627";
|
||||
sha256 = "057ff0s21d01ymi4m7q4hi3hwp292c8jmkwy2gwx0ginf14g8n24";
|
||||
rev = "a548fd717462bed82eaf2e7d67fda22c15b3dfb5";
|
||||
sha256 = "1l8ng8drwk3q4q95njknp24n4va0ywf4al7r7z1favyjb0768b1r";
|
||||
leaveDotGit = true;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"version": "1.19",
|
||||
"build": 51,
|
||||
"name": "paper-1.19-51.jar",
|
||||
"sha256": "b7a1758e507cca8f75e5807c572388929406efba175cdef099942a75ad2d0eae"
|
||||
"build": 52,
|
||||
"name": "paper-1.19-52.jar",
|
||||
"sha256": "9093b1f428bdf93dbaa1079c60272fb566fde5b8d0179ae9c572d43afa01ed73"
|
||||
}
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
{ inputs, pkgs }:
|
||||
let
|
||||
plover = import ./. { inherit inputs pkgs; };
|
||||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
}: let
|
||||
plover = import ./. {inherit inputs pkgs;};
|
||||
dict_list = [
|
||||
"abbreviations"
|
||||
"apps"
|
||||
|
@ -94,16 +96,18 @@ let
|
|||
chmod +x $out/bin/json-to-yaml.py
|
||||
'';
|
||||
};
|
||||
in builtins.listToAttrs (builtins.map (name: {
|
||||
name = "plover-dict-${name}";
|
||||
value = pkgs.stdenvNoCC.mkDerivation {
|
||||
name = "plover-dict-${name}-${inputs.steno-dictionaries.lastModifiedDate}.yaml";
|
||||
pname = "plover-dict-${name}";
|
||||
version = inputs.steno-dictionaries.lastModifiedDate;
|
||||
srcs = inputs.steno-dictionaries;
|
||||
buildPhase = ''
|
||||
${json-to-yaml}/bin/json-to-yaml.py dictionaries/${name}.json $out
|
||||
'';
|
||||
installPhase = "true";
|
||||
};
|
||||
}) dict_list)
|
||||
in
|
||||
builtins.listToAttrs (builtins.map (name: {
|
||||
name = "plover-dict-${name}";
|
||||
value = pkgs.stdenvNoCC.mkDerivation {
|
||||
name = "plover-dict-${name}-${inputs.steno-dictionaries.lastModifiedDate}.yaml";
|
||||
pname = "plover-dict-${name}";
|
||||
version = inputs.steno-dictionaries.lastModifiedDate;
|
||||
srcs = inputs.steno-dictionaries;
|
||||
buildPhase = ''
|
||||
${json-to-yaml}/bin/json-to-yaml.py dictionaries/${name}.json $out
|
||||
'';
|
||||
installPhase = "true";
|
||||
};
|
||||
})
|
||||
dict_list)
|
||||
|
|
Reference in a new issue