mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
libaio: pull src from codeberg
https://lore.kernel.org/distributions/ajH6hjJ9X6PcLET3@thunder.hadrons.org/T/#u
This commit is contained in:
parent
6aa26dc716
commit
5b23ab1417
1 changed files with 7 additions and 4 deletions
|
|
@ -1,16 +1,18 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
fetchFromCodeberg,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
version = "0.3.113";
|
||||
pname = "libaio";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pagure.io/libaio/archive/libaio-${finalAttrs.version}/libaio-libaio-${finalAttrs.version}.tar.gz";
|
||||
sha256 = "sha256-cWxwWXAyRzROsGa1TsvDyiE08BAzBxkubCt9q1+VKKs=";
|
||||
src = fetchFromCodeberg {
|
||||
owner = "jmoyer";
|
||||
repo = "libaio";
|
||||
tag = "libaio-${finalAttrs.version}";
|
||||
hash = "sha256-8TofYbwsnenv5GuC6FjkUt9rBTULEb5nhknuxr2ckQg=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
|
@ -33,6 +35,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
meta = {
|
||||
description = "Library for asynchronous I/O in Linux";
|
||||
homepage = "https://lse.sourceforge.net/io/aio.html";
|
||||
downloadPage = "https://codeberg.org/jmoyer/libaio";
|
||||
platforms = lib.platforms.linux;
|
||||
license = lib.licenses.lgpl21;
|
||||
maintainers = [ ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue