Compare commits
2 Commits
d00d49135a
...
d4c94a5a3a
| Author | SHA1 | Date | |
|---|---|---|---|
| d4c94a5a3a | |||
| db29d662c6 |
27
default.nix
Normal file
27
default.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
let
|
||||||
|
pkgs = import <nixpkgs> {
|
||||||
|
overlays = [
|
||||||
|
(import (builtins.fetchTarball
|
||||||
|
"https://github.com/oxalica/rust-overlay/archive/master.tar.gz"))
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
rust = pkgs.rust-bin.stable.latest.rust.override {
|
||||||
|
extensions = [ "rust-src" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
in with pkgs;
|
||||||
|
pkgs.mkShell rec {
|
||||||
|
name = "rust";
|
||||||
|
buildInputs = [
|
||||||
|
openssl
|
||||||
|
pkg-config
|
||||||
|
cargo
|
||||||
|
rust
|
||||||
|
rustfmt
|
||||||
|
rust-analyzer
|
||||||
|
wasm-pack
|
||||||
|
wasm-bindgen-cli
|
||||||
|
nodePackages.rollup
|
||||||
|
];
|
||||||
|
}
|
||||||
@ -18,7 +18,7 @@ use superdeduper::CompactMetadata;
|
|||||||
use superdeduper::MovieLibrary;
|
use superdeduper::MovieLibrary;
|
||||||
|
|
||||||
const MOVIE_DIR: &str = "/home/wathiede/Movies";
|
const MOVIE_DIR: &str = "/home/wathiede/Movies";
|
||||||
const TO_BE_REMOVED_DIR: &str = "/storage/media/to-be-deleted/";
|
const TO_BE_REMOVED_DIR: &str = "/home/wathiede/to-be-deleted/";
|
||||||
|
|
||||||
lazy_static! {
|
lazy_static! {
|
||||||
static ref CLEAN_TITLE_CHARS: Regex = Regex::new("[^ 0-9[:alpha:]]").unwrap();
|
static ref CLEAN_TITLE_CHARS: Regex = Regex::new("[^ 0-9[:alpha:]]").unwrap();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user