mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
qnotero: init at 1.0.0
This commit is contained in:
parent
d5a2c4cb05
commit
728b1ce557
39
pkgs/applications/office/qnotero/default.nix
Normal file
39
pkgs/applications/office/qnotero/default.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{ stdenv, fetchFromGitHub, buildPythonPackage, python3, python3Packages
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonPackage rec {
|
||||
name = "qnotero-${version}";
|
||||
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "smathot";
|
||||
repo = "qnotero";
|
||||
rev = "release/${version}";
|
||||
name = "qnotero-${version}-src";
|
||||
sha256 = "1d5a9k1llzn9q1qv1bfwc7gfflabh4riplz9jj0hf04b279y1bj0";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ python3 python3Packages.pyqt4 ];
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace ./setup.py \
|
||||
--replace "/usr/share" "$out/usr/share"
|
||||
|
||||
substituteInPlace ./libqnotero/_themes/default.py \
|
||||
--replace "/usr/share" "$out/usr/share"
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p "$out/usr/share/qnotero"
|
||||
mv resources "$out/usr/share/qnotero"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Quick access to Zotero references";
|
||||
homepage = http://www.cogsci.nl/software/qnotero;
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.nico202 ];
|
||||
};
|
||||
}
|
@ -13299,6 +13299,8 @@ let
|
||||
|
||||
qmmp = callPackage ../applications/audio/qmmp { };
|
||||
|
||||
qnotero = callPackage ../applications/office/qnotero { };
|
||||
|
||||
qrcode = callPackage ../tools/graphics/qrcode {};
|
||||
|
||||
qsampler = callPackage ../applications/audio/qsampler { };
|
||||
|
Loading…
Reference in New Issue
Block a user