diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-22 13:58:47 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-22 13:59:09 +0200 |
commit | 812dde842c25183a482a98e02eeca724a5d24320 (patch) | |
tree | b97831f368f48e9a05434e34b868ae209c71a6d8 /package/package.nix | |
parent | chore(version): v0.1.3 (diff) | |
download | yt-812dde842c25183a482a98e02eeca724a5d24320.tar.gz yt-812dde842c25183a482a98e02eeca724a5d24320.zip |
build(package): Include python `blake3` dependency
Diffstat (limited to '')
-rw-r--r-- | package/package.nix (renamed from package.nix) | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/package.nix b/package/package.nix index 54ee6c1..c0b4718 100644 --- a/package.nix +++ b/package/package.nix @@ -8,19 +8,20 @@ # You should have received a copy of the License along with this program. # If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>. { - rustPlatform, - python3, - makeWrapper, - sqlite, - lib, ffmpeg, - llvmPackages_latest, glibc, + lib, + llvmPackages_latest, + makeWrapper, mpv-unwrapped, + python3, + rustPlatform, + sqlite, + blake3, }: let version = "0.1.0"; - src = ./.; + src = ./..; buildInputs = [ (python3.withPackages (ps: [ps.yt-dlp])) @@ -52,12 +53,15 @@ in }; prePatch = '' - echo "$PATH" bash ./scripts/mkdb.sh ''; + passthru = { + inherit blake3; + }; + cargoLock = { - lockFile = ./Cargo.lock; + lockFile = ../Cargo.lock; }; postBuild = '' |