mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 02:05:02 +00:00
libstemmer: enable structuredAttrs, use tag/hash
This commit is contained in:
@@ -13,8 +13,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
src = fetchFromGitHub {
|
||||
owner = "snowballstem";
|
||||
repo = "snowball";
|
||||
rev = "v${finalAttrs.version}";
|
||||
sha256 = "sha256-qXrypwv/I+5npvGHGsHveijoui0ZnoGYhskCfLkewVE=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-qXrypwv/I+5npvGHGsHveijoui0ZnoGYhskCfLkewVE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ perl ];
|
||||
@@ -39,6 +39,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
meta = {
|
||||
description = "Snowball Stemming Algorithms";
|
||||
homepage = "https://snowballstem.org/";
|
||||
|
||||
Reference in New Issue
Block a user