mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
40ca841c5c
buildPythonApplication: use new function for Python applications
32 lines
734 B
Nix
32 lines
734 B
Nix
{ stdenv, fetchurl, pkgs, pythonPackages }:
|
|
|
|
pythonPackages.buildPythonApplication rec {
|
|
version = "0.8.1";
|
|
name = "khard-${version}";
|
|
namePrefix = "";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/scheibler/khard/archive/v${version}.tar.gz";
|
|
sha256 = "13axfrs96isirx0c483545xdmjwwfq1k7yy92xpk7l184v71rgi1";
|
|
};
|
|
|
|
propagatedBuildInputs = with pythonPackages; [
|
|
atomicwrites
|
|
configobj
|
|
vobject
|
|
argparse
|
|
pyyaml
|
|
];
|
|
|
|
buildInputs = with pythonPackages; [
|
|
pkgs.vdirsyncer
|
|
];
|
|
|
|
meta = {
|
|
homepage = https://github.com/scheibler/khard;
|
|
description = "Console carddav client";
|
|
license = stdenv.lib.licenses.gpl3;
|
|
maintainers = with stdenv.lib.maintainers; [ matthiasbeyer ];
|
|
};
|
|
}
|