nixpkgs/pkgs/development/libraries/sord/default.nix
Silvan Mosberger 57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00

29 lines
799 B
Nix

{ stdenv, fetchurl, pkgconfig, python, serd, pcre }:
stdenv.mkDerivation rec {
name = "sord-${version}";
version = "0.16.0";
src = fetchurl {
url = "https://download.drobilla.net/${name}.tar.bz2";
sha256 = "0nh3i867g9z4kdlnk82cg2kcw8r02qgifxvkycvzb4vfjv4v4g4x";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ python serd pcre ];
configurePhase = "${python.interpreter} waf configure --prefix=$out";
buildPhase = "${python.interpreter} waf";
installPhase = "${python.interpreter} waf install";
meta = with stdenv.lib; {
homepage = http://drobilla.net/software/sord;
description = "A lightweight C library for storing RDF data in memory";
license = licenses.mit;
maintainers = [ maintainers.goibhniu ];
platforms = platforms.linux;
};
}