Progress on some things, can't remember what though
This commit is contained in:
1 parent
7e368b4f40
commit
b921c2ac47
10 files changed
+74
-35
No files matched your search
@@ -6,20 +6,6 @@
|
||||
}:
|
||||
|
||||
with lib;
|
||||
# let
|
||||
# mkPackage = path: (mkOption {
|
||||
# type = types.package;
|
||||
# default = (pkgs.callPackage path) {};
|
||||
# description = (mkPackage path).default.name;
|
||||
# });
|
||||
# in {
|
||||
# options.pkgs = {
|
||||
# # Add all custom packages
|
||||
# wqy-zenhei = mkPackage ./fonts/wqy-zenhei.nix;
|
||||
# wqy-microhei = mkPackage ./fonts/wqy-microhei.nix;
|
||||
# wqy-bitmapsong = mkPackage ./fonts/wqy-bitmapsong.nix;
|
||||
# };
|
||||
# }
|
||||
{
|
||||
nixpkgs.config.packageOverrides = pkgs: rec {
|
||||
wqy-zenhei = pkgs.callPackage ./fonts/wqy-zenhei.nix { };
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
pkgs.rustPlatform.buildRustPackage rec {
|
||||
pname = "owm";
|
||||
version = "0.1.0";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "justinlovinger";
|
||||
repo = pname;
|
||||
rev = "master";
|
||||
sha256 = "sha256-l9usg0XGtghCX8elvjExYJgMuMGeujOoS2n1hCQkN78=";
|
||||
};
|
||||
|
||||
cargoSha256 = "";
|
||||
}
|
||||
Reference in new issue
Block a user