mirror of
https://github.com/ryanccn/flake.git
synced 2025-12-06 16:10:45 +01:00
move gen-license to overlay
This commit is contained in:
parent
cd0afcf585
commit
1b2f94b0db
3 changed files with 27 additions and 35 deletions
24
overlays/gen-license.nix
Normal file
24
overlays/gen-license.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
(_: prev: {
|
||||
gen-license = prev.rustPlatform.buildRustPackage rec {
|
||||
pname = "gen-license";
|
||||
version = "0.1.2";
|
||||
|
||||
src = prev.fetchCrate {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-YZcycLQ436cjr2YTT7TEyMdeLTOl9oEfa5x3lgnnYyo=";
|
||||
};
|
||||
|
||||
cargoLock.lockFile = "${src}/Cargo.lock";
|
||||
|
||||
buildInputs =
|
||||
[]
|
||||
++ prev.lib.optionals prev.stdenv.isDarwin [
|
||||
prev.darwin.apple_sdk_11_0.frameworks.CoreFoundation
|
||||
prev.darwin.apple_sdk_11_0.frameworks.Security
|
||||
prev.darwin.IOKit
|
||||
prev.libiconv
|
||||
];
|
||||
|
||||
nativeBuildInputs = [prev.pkg-config];
|
||||
};
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue