mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
pythonPackages.fdroidserver: refactor move to python-modules
This commit is contained in:
parent
5e90be5fd7
commit
7aa1a742c4
35
pkgs/development/python-modules/fdroidserver/default.nix
Normal file
35
pkgs/development/python-modules/fdroidserver/default.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchFromGitLab
|
||||
, libcloud
|
||||
, pyyaml
|
||||
, paramiko
|
||||
, pyasn1
|
||||
, pyasn1-modules
|
||||
, pillow
|
||||
, mwclient
|
||||
, GitPython
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "2016-05-31";
|
||||
pname = "fdroidserver-git";
|
||||
disabled = ! isPy3k;
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "fdroid";
|
||||
repo = "fdroidserver";
|
||||
rev = "401649e0365e6e365fc48ae8a3af94768af865f3";
|
||||
sha256 = "1mmi2ffpym1qw694yj938kc7b4xhq0blri7wkjaqddcyykjyr94d";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ libcloud pyyaml paramiko pyasn1 pyasn1-modules pillow mwclient GitPython ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://f-droid.org;
|
||||
description = "Server and tools for F-Droid, the Free Software repository system for Android";
|
||||
license = licenses.agpl3;
|
||||
};
|
||||
|
||||
}
|
|
@ -2378,28 +2378,7 @@ in {
|
|||
|
||||
docker_compose = callPackage ../development/python-modules/docker_compose {};
|
||||
|
||||
fdroidserver = buildPythonPackage rec {
|
||||
version = "2016-05-31";
|
||||
name = "fdroidserver-git-${version}";
|
||||
|
||||
disabled = ! isPy3k;
|
||||
|
||||
src = pkgs.fetchFromGitLab {
|
||||
owner = "fdroid";
|
||||
repo = "fdroidserver";
|
||||
rev = "401649e0365e6e365fc48ae8a3af94768af865f3";
|
||||
sha256 = "1mmi2ffpym1qw694yj938kc7b4xhq0blri7wkjaqddcyykjyr94d";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ libcloud pyyaml paramiko pyasn1 pyasn1-modules pillow mwclient GitPython ];
|
||||
|
||||
meta = {
|
||||
homepage = https://f-droid.org;
|
||||
description = "Server and tools for F-Droid, the Free Software repository system for Android";
|
||||
maintainers = with maintainers; [ ];
|
||||
license = licenses.agpl3;
|
||||
};
|
||||
};
|
||||
fdroidserver = callPackage ../development/python-modules/fdroidserver { };
|
||||
|
||||
filebrowser_safe = buildPythonPackage rec {
|
||||
version = "0.3.6";
|
||||
|
|
Loading…
Reference in a new issue