plfit: 0.9.3 -> 0.9.4

https://github.com/ntamas/plfit/blob/0.9.4/CHANGELOG.md
This commit is contained in:
Robert Schütz 2022-08-17 10:48:18 +00:00
parent 6c36827e98
commit 42bffa7171

View File

@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, cmake
, python ? null
, swig
@ -10,24 +9,15 @@
stdenv.mkDerivation rec {
pname = "plfit";
version = "0.9.3";
version = "0.9.4";
src = fetchFromGitHub {
owner = "ntamas";
repo = "plfit";
rev = version;
hash = "sha256-y4n6AlGtuuUuA+33oF7lGOYuKSqea4GMSJlv9PaSpQ8=";
hash = "sha256-hnmP/56P2anR0S8zQyQqN1lbge5GgK+P8Lx8bRkwSxA=";
};
patches = [
# https://github.com/ntamas/plfit/pull/41
(fetchpatch {
name = "use-cmake-install-full-dir.patch";
url = "https://github.com/ntamas/plfit/commit/d0e77c80e6e899298240e6be465cf580603f6ee2.patch";
hash = "sha256-wi3qCp6ZQtrKuM7XDA6xCXunCiqsyhnkxmg2eSmxjYM=";
})
];
nativeBuildInputs = [
cmake
] ++ lib.optionals (!isNull python) [
@ -48,6 +38,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Fitting power-law distributions to empirical data";
homepage = "https://github.com/ntamas/plfit";
changelog = "https://github.com/ntamas/plfit/blob/${src.rev}/CHANGELOG.md";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ dotlambda ];
};