mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
16 lines
315 B
Nix
16 lines
315 B
Nix
{ unrar
|
|
, fetchzip
|
|
}:
|
|
|
|
unrar.overrideAttrs (finalAttrs: _: {
|
|
version = "6.2.12";
|
|
|
|
src = fetchzip {
|
|
url = "https://www.rarlab.com/rar/unrarsrc-${finalAttrs.version}.tar.gz";
|
|
stripRoot = false;
|
|
hash = "sha256-VAL3o9JGmkAcEssa/P/SL9nyxnigb7dX9YZBHrG9f0A=";
|
|
};
|
|
|
|
sourceRoot = finalAttrs.src.name;
|
|
})
|